Searched refs:array_push (Results 1 – 25 of 28) sorted by relevance
12
/PHP-8.0/ext/standard/tests/array/ |
H A D | array_push_variation5.phpt | 2 Test array_push() function : usage variations - position of internal array pointer 6 * Check the position of the internal array pointer after calling array_push() 9 echo "*** Testing array_push() : usage variations ***\n"; 14 echo "\n-- Call array_push() --\n"; 15 var_dump($result = array_push($stack, $var0)); 23 *** Testing array_push() : usage variations *** 25 -- Call array_push() --
|
H A D | array_push_variation3.phpt | 2 Test array_push() function : usage variations - multidimensional arrays 6 * Test array_push when passed: 11 echo "*** Testing array_push() : usage variations ***\n"; 16 var_dump(array_push($array, $sub_array)); 20 var_dump(array_push($array[3], 'a')); 26 *** Testing array_push() : usage variations ***
|
H A D | array_push_basic.phpt | 2 Test array_push() function : basic functionality 6 * Test basic functionality of array_push with indexed and associative arrays 9 echo "*** Testing array_push() : basic functionality ***\n"; 16 var_dump(array_push($array, $var1, $var2)); 22 var_dump(array_push($array_assoc, $var1, $var2)); 28 *** Testing array_push() : basic functionality ***
|
H A D | array_push_empty.phpt | 2 Test array_push() function : push empty set to the array 8 var_dump( array_push($array) ); 9 var_dump( array_push($array, ...$values) );
|
H A D | array_push_error2.phpt | 2 Test array_push() function : error conditions - max int value as key 10 echo "*** Testing array_push() : error conditions ***\n"; 14 var_dump(array_push($array, 'new')); 22 *** Testing array_push() : error conditions ***
|
H A D | array_push_variation2.phpt | 2 Test array_push() function : usage variations - Pass different data types as $var arg 6 * Pass different data types as $var argument to array_push to test behaviour 9 echo "*** Testing array_push() : usage variations ***\n"; 83 // loop through each element of $inputs to check the behavior of array_push() 88 var_dump( array_push($temp_array, $input) ); 97 *** Testing array_push() : usage variations ***
|
H A D | bug67693.phpt | 10 array_push($array, 0); 11 array_push($array, 0);
|
H A D | array_push_variation6.phpt | 2 Test array_push() function : usage variations - array keys are different data types 6 * Pass array_push arrays where the keys are different data types. 9 echo "*** Testing array_push() : usage variations ***\n"; 90 // loop through each sub-array of $inputs to check the behavior of array_push() 97 var_dump( array_push($input, $var) ); 104 *** Testing array_push() : usage variations ***
|
H A D | array_push.phpt | 2 Test array_push() function 32 var_dump( array_push($mixed_array[1],1,2) ); 35 var_dump( array_push($empty_array, 2) ); 47 var_dump( array_push($sub_array, 22, "abc") ); 53 var_dump( array_push($mixed_array[2], 22, 33, "44") );
|
H A D | bug71837.phpt | 7 array_push($p[0], array(100));
|
H A D | 006.phpt | 14 array_push($a, "foobar");
|
H A D | bug36975.phpt | 17 array_push($b, 'bar');
|
/PHP-8.0/Zend/tests/ |
H A D | foreach_013.phpt | 2 array_push() function precerve foreach by reference iterator pointer 9 array_push($a, 4);
|
H A D | dtor_scope.phpt | 11 array_push($this->var, $a);
|
H A D | bug42817.phpt | 6 array_push($a->b, $c);
|
/PHP-8.0/ext/opcache/tests/ |
H A D | send_unpack_empty_array.phpt | 10 var_dump(array_push($array, 4, ...$values));
|
/PHP-8.0/ext/date/tests/ |
H A D | bug51819.phpt | 15 array_push($aTz, $sTz);
|
H A D | DateTimeZone_getLocation.phpt | 19 array_push($countryCode, $timeZoneArray['country_code']);
|
/PHP-8.0/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.014.phpt | 59 $transform = 'array_push($a, "new.$counter");';
|
H A D | foreachLoop.013.phpt | 57 $transform = 'array_push($a, "new.$counter");';
|
H A D | foreachLoop.015.phpt | 59 $transform = 'array_push($a, "new.$counter");';
|
Completed in 23 milliseconds
12