Answers for "array_push() use"

PHP
0

array_push

// The array_push() function inserts one or more elements to the end of an array.

$a=array("red","green");
array_push($a,"blue","yellow");
print_r($a);
Posted by: Guest on August-22-2021

Browse Popular Code Answers by Language