Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php array_push

PHP function array_push(array &$array, ...$values) int
------------------------------------------------------
Push elements onto the end of array. Since 7.3.0 this function can be called with only one parameter. 
For earlier versions at least two parameters are required.
  
Parameters:
array--$array--The input array.
mixed--...$values--[optional] The pushed variables.
  
Returns: the number of elements in the array.
Source by php.net #
 
PREVIOUS NEXT
Tagged: #php
ADD COMMENT
Topic
Name
5+1 =