|
array_pushPush one or more elements onto the end of array Description
int array_push
( array
&$array
, mixed $value1
[, mixed $...
] )
array_push treats
<?php
Parameters
Return ValuesReturns the new number of elements in the array. Examples
Example #1 array_push example
<?php The above example will output: Array ( [0] => orange [1] => banana [2] => apple [3] => raspberry ) See Also
|