PHP » GoLang |
login |
register |
about
|
array_push(PHP 4, PHP 5, PHP 7) array_push — Push one or more elements onto the end of array Description
array_push() treats
<?php
Parameters
Return ValuesReturns the new number of elements in the array. Changelog
Examples
Example #1 array_push() example
<?php The above example will output: Array ( [0] => orange [1] => banana [2] => apple [3] => raspberry ) See Also
|
more
Recently updated
more
Most requested
more
Last requests
|