Lines Matching refs:array_push
2 Test array_push() function
6 /* Prototype: int array_push( array &array );
37 var_dump( array_push() );
40 var_dump( array_push($number, 22) );
43 var_dump( array_push($str, 22) );
46 var_dump( array_push($mixed_array[1],1,2) );
49 var_dump( array_push($empty_array, 2) );
61 var_dump( array_push($sub_array, 22, "abc") );
67 var_dump( array_push($mixed_array[2], 22, 33, "44") );
75 Warning: array_push() expects at least 2 parameters, 0 given in %s on line %d
78 Warning: array_push() expects parameter 1 to be array, integer given in %s on line %d
81 Warning: array_push() expects parameter 1 to be array, string given in %s on line %d