/PHP-5.4/ext/standard/tests/array/ |
H A D | array_push_variation1.phpt | 2 Test array_push() function : usage variations - Pass different data types as $stack arg 5 /* Prototype : int array_push(array $stack, mixed $var [, mixed $...]) 11 * Pass different data types as $stack argument to array_push() to test behaviour 14 echo "*** Testing array_push() : usage variations ***\n"; 88 // loop through each element of $inputs to check the behavior of array_push() 92 var_dump( array_push($input, $var) ); 101 *** Testing array_push() : usage variations *** 150 Warning: array_push() expects parameter 1 to be array, null given in %s on line %d 155 Warning: array_push() expects parameter 1 to be array, null given in %s on line %d 213 Warning: array_push() expects parameter 1 to be array, null given in %s on line %d [all …]
|
H A D | array_push_error1.phpt | 2 Test array_push() function : error conditions - Pass incorrect number of args 5 /* Prototype : int array_push(array $stack, mixed $var [, mixed $...]) 11 * Pass incorrect number of arguments to array_push() to test behaviour 14 echo "*** Testing array_push() : error conditions ***\n"; 16 // Testing array_push with one less than the expected number of arguments 17 echo "\n-- Testing array_push() function with less than expected no. of arguments --\n"; 19 var_dump( array_push($stack) ); 24 *** Testing array_push() : error conditions *** 26 -- Testing array_push() function with less than expected no. of arguments -- 28 Warning: array_push() expects at least 2 parameters, 1 given in %s on line %d
|
H A D | array_push_variation5.phpt | 2 Test array_push() function : usage variations - position of internal array pointer 5 /* Prototype : int array_push(array $stack, mixed $var [, mixed $...]) 11 * Check the position of the internal array pointer after calling array_push() 14 echo "*** Testing array_push() : usage variations ***\n"; 19 echo "\n-- Call array_push() --\n"; 20 var_dump($result = array_push($stack, $var0)); 29 *** Testing array_push() : usage variations *** 31 -- Call array_push() --
|
H A D | array_push_variation3.phpt | 2 Test array_push() function : usage variations - multidimensional arrays 5 /* Prototype : int array_push(array $stack, mixed $var [, mixed $...]) 11 * Test array_push when passed: 16 echo "*** Testing array_push() : usage variations ***\n"; 21 var_dump(array_push($array, $sub_array)); 25 var_dump(array_push($array[3], 'a')); 31 *** Testing array_push() : usage variations ***
|
H A D | array_push_basic.phpt | 2 Test array_push() function : basic functionality 5 /* Prototype : int array_push(array $stack, mixed $var [, mixed $...]) 11 * Test basic functionality of array_push with indexed and associative arrays 14 echo "*** Testing array_push() : basic functionality ***\n"; 21 var_dump(array_push($array, $var1, $var2)); 27 var_dump(array_push($array_assoc, $var1, $var2)); 34 *** Testing array_push() : basic functionality ***
|
H A D | array_push_error2.phpt | 2 Test array_push() function : error conditions - max int value as key 5 /* Prototype : int array_push(array $stack, mixed $var [, mixed $...]) 15 echo "*** Testing array_push() : error conditions ***\n"; 19 var_dump(array_push($array, 'new')); 26 *** Testing array_push() : error conditions *** 28 Warning: array_push(): Cannot add element to the array as the next element is already occupied in %…
|
H A D | array_push.phpt | 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 [all …]
|
H A D | array_push_variation2.phpt | 2 Test array_push() function : usage variations - Pass different data types as $var arg 5 /* Prototype : int array_push(array $stack, mixed $var [, mixed $...]) 11 * Pass different data types as $var argument to array_push to test behaviour 14 echo "*** Testing array_push() : usage variations ***\n"; 88 // loop through each element of $inputs to check the behavior of array_push() 93 var_dump( array_push($temp_array, $input) ); 102 *** Testing array_push() : usage variations ***
|
H A D | array_push_variation6.phpt | 2 Test array_push() function : usage variations - array keys are different data types 5 /* Prototype : int array_push(array $stack, mixed $var [, mixed $...]) 11 * Pass array_push arrays where the keys are different data types. 14 echo "*** Testing array_push() : usage variations ***\n"; 95 // loop through each sub-array of $inputs to check the behavior of array_push() 102 var_dump( array_push($input, $var) ); 110 *** Testing array_push() : usage variations ***
|
H A D | bug67693.phpt | 10 array_push($array, 0); 11 array_push($array, 0);
|
H A D | 006.phpt | 14 array_push($a, "foobar");
|
H A D | bug36975.phpt | 17 array_push($b, 'bar');
|
/PHP-5.4/Zend/tests/ |
H A D | bug42817.phpt | 6 array_push($a->b, $c);
|
H A D | dtor_scope.phpt | 13 array_push($this->var, $a);
|
/PHP-5.4/ext/date/tests/ |
H A D | bug51819.phpt | 15 array_push($aTz, $sTz);
|
/PHP-5.4/tests/lang/ |
H A D | foreachLoop.009.phpt | 29 array_push($refedArray, "new.$k"); 43 array_push($refedArray, "new.$k");
|
H A D | foreachLoop.002.phpt | 33 array_push($a, "new.$counter"); 47 array_push($a, "new.$counter");
|
H A D | foreachLoop.010.phpt | 27 array_push($a, 'new');
|
H A D | foreachLoop.012.phpt | 57 $transform = 'array_push($a, "new.$counter");';
|
H A D | foreachLoop.013.phpt | 57 $transform = 'array_push($a, "new.$counter");';
|
H A D | foreachLoop.014.phpt | 59 $transform = 'array_push($a, "new.$counter");';
|
H A D | foreachLoop.015.phpt | 59 $transform = 'array_push($a, "new.$counter");';
|
/PHP-5.4/ext/standard/ |
H A D | php_array.h | 61 PHP_FUNCTION(array_push);
|
/PHP-5.4/ext/spl/internal/ |
H A D | spldoublylinkedlist.inc | 75 array_push($this->_llist, $data);
|
/PHP-5.4/ext/soap/interop/ |
H A D | client_round2_interop.php | 109 array_push($endpointArray, $this->localEndpoint[$test]);
|