PHP » GoLang |
login |
register |
about
|
array_shift(PHP 4, PHP 5, PHP 7) array_shift — Shift an element off the beginning of array Description
array_shift() shifts the first value of the
Parameters
Return Values
Returns the shifted value, or Examples
Example #1 array_shift() example
<?php The above example will output: Array ( [0] => banana [1] => apple [2] => raspberry ) and orange will be assigned to $fruit. See Also
|
more
Recently updated
more
Most requested
more
Last requests
|