Php Delete First In Array Python Methods Vs Functions In Python