/php-src/ext/standard/tests/array/ |
H A D | array_unshift_basic1.phpt | 2 Test array_unshift() function : basic functionality - array with default keys for 'array' argument 6 * Testing array_unshift() by giving array with default keys for $array argument 9 echo "*** Testing array_unshift() : basic functionality with default key array ***\n"; 14 // Calling array_unshift() with default argument 18 var_dump( array_unshift($temp_array, 10) ); 23 // Calling array_unshift() with optional arguments 27 var_dump( array_unshift($temp_array, 222, "hello", 12.33) ); 35 *** Testing array_unshift() : basic functionality with default key array ***
|
H A D | array_unshift_basic2.phpt | 2 Test array_unshift() function : basic functionality - associative arrays for 'array' argument 6 * Testing array_unshift() by giving associative arrays for $array argument 9 echo "*** Testing array_unshift() : basic functionality with associative array ***\n"; 14 // Calling array_unshift() with default argument 18 var_dump( array_unshift($temp_array, 10) ); 23 // Calling array_unshift() with optional arguments 27 var_dump( array_unshift($temp_array, 222, "hello", 12.33) ); 35 *** Testing array_unshift() : basic functionality with associative array ***
|
H A D | array_unshift_empty.phpt | 2 Test array_unshift() function : prepend array with empty set 8 var_dump( array_unshift($array) ); 9 var_dump( array_unshift($array, ...$values) );
|
H A D | array_unshift.phpt | 2 array_unshift() tests 8 var_dump(array_unshift($a, $s)); 10 var_dump(array_unshift($a, $a));
|
H A D | array_unshift_variation6.phpt | 2 Test array_unshift() function : usage variations - two dimensional arrays for 'array' argument 6 * Testing the functionality of array_unshift() by giving two-dimensional 11 echo "*** Testing array_unshift() : two dimensional arrays for \$array argument ***\n"; 35 var_dump( array_unshift($temp_array, $var) ); // whole 2-d array 44 var_dump( array_unshift($temp_array, $var, "hello", 'world') ); // whole 2-d array 55 var_dump( array_unshift($temp_array, $var) ); // sub array 64 var_dump( array_unshift($temp_array, $var, "hello", 'world') ); // sub array 72 *** Testing array_unshift() : two dimensional arrays for $array argument ***
|
H A D | array_unshift_object.phpt | 2 Test array_unshift() function : passing object for 'var' argument 6 * Testing the functionality of array_unshift() by passing 10 echo "*** Testing array_unshift() : Passing object to \$var argument ***\n"; 72 // loop through the various elements of $arrays to check the functionality of array_unshift 81 var_dump( array_unshift($temp_array, $var) ); 90 var_dump( array_unshift($temp_array, $var, "hello", 'world') ); 100 *** Testing array_unshift() : Passing object to $var argument ***
|
H A D | array_unshift_variation7.phpt | 2 Test array_unshift() function : usage variations - double quoted strings for 'var' argument 6 * Testing the functionality of array_unshift() by passing different 11 echo "*** Testing array_unshift() : double quoted strings for \$var argument ***\n"; 25 // loop through the various elements of $arrays to test array_unshift() 34 var_dump( array_unshift($temp_array, $var) ); 43 var_dump( array_unshift($temp_array, $var, "hello", 'world') ); 53 *** Testing array_unshift() : double quoted strings for $var argument ***
|
H A D | array_unshift_variation8.phpt | 2 Test array_unshift() function : usage variations - single quoted strings for 'var' argument 6 * Testing the functionality of array_unshift() by passing different 11 echo "*** Testing array_unshift() : single quoted strings for \$var argument ***\n"; 25 // loop through the various elements of $arrays to test array_unshift() 34 var_dump( array_unshift($temp_array, $var) ); 43 var_dump( array_unshift($temp_array, $var, "hello", 'world') ); 53 *** Testing array_unshift() : single quoted strings for $var argument ***
|
H A D | array_unshift_variation4.phpt | 2 Test array_unshift() function : usage variations - assoc. array with diff. keys for 'array' argument 6 * Testing the functionality of array_unshift() by passing different 11 echo "*** Testing array_unshift() : associative array with different keys ***\n"; 63 // loop through the various elements of $arrays to test array_unshift() 72 var_dump( array_unshift($temp_array, $var) ); 81 var_dump( array_unshift($temp_array, $var, "hello", 'world') ); 91 *** Testing array_unshift() : associative array with different keys ***
|
H A D | array_unshift_variation5.phpt | 2 Test array_unshift() function : usage variations - assoc. array with diff values for 'array' argume… 8 * Testing the functionality of array_unshift() by passing different 13 echo "*** Testing array_unshift() : associative array with different values ***\n"; 65 // loop through the various elements of $arrays to test array_unshift() 74 var_dump( array_unshift($temp_array, $var) ); 83 var_dump( array_unshift($temp_array, $var, "hello", 'world') ); 93 *** Testing array_unshift() : associative array with different values ***
|
H A D | array_unshift_variation9.phpt | 2 Test array_unshift() function : usage variations - heredoc strings for 'var' argument 6 * Testing the functionality of array_unshift() by passing different 11 echo "*** Testing array_unshift() : heredoc strings for \$var argument ***\n"; 65 // loop through the various elements of $arrays to test array_unshift() 74 var_dump( array_unshift($temp_array, $var) ); 83 var_dump( array_unshift($temp_array, $var, "hello", 'world') ); 93 *** Testing array_unshift() : heredoc strings for $var argument ***
|
H A D | array_unshift_variation3.phpt | 2 Test array_unshift() function : usage variations - different array values for 'array' argument 6 * Testing the behavior of array_unshift() by passing different types of arrays 10 echo "*** Testing array_unshift() : different arrays for \$array argument ***\n"; 43 // loop through the various elements of $arrays to test array_unshift() 52 var_dump( array_unshift($temp_array, $var) ); 61 var_dump( array_unshift($temp_array, $var, "hello", 'world') ); 71 *** Testing array_unshift() : different arrays for $array argument ***
|
H A D | array_unshift_variation2.phpt | 2 Test array_unshift() function : usage variations - all possible values for 'var' argument 6 * Testing array_unshift() by giving all the possible values for $var argument 9 echo "*** Testing array_unshift() : all possible values for \$var argument ***\n"; 89 // loop through each element of $vars to check the functionality of array_unshift() 98 var_dump( array_unshift($temp_array, $var) ); 107 var_dump( array_unshift($temp_array, $var, "hello", 'world') ); 120 *** Testing array_unshift() : all possible values for $var argument ***
|
/php-src/Zend/tests/foreach/ |
H A D | foreach_016.phpt | 2 array_unshift() function preserve foreach by reference iterator pointer 9 array_unshift($a, 0, 0, 0, 0, 0, 0, 0, 0);
|
/php-src/Zend/tests/ |
H A D | array_unshift_COW.phpt | 8 array_unshift ($a,$b);
|
/php-src/ext/opcache/tests/jit/ |
H A D | bug81249.phpt | 90 array_unshift($ioQueue, chr($byte));
|
/php-src/tests/lang/ |
H A D | foreachLoop.012.phpt | 64 $transform = 'array_unshift($a, "new.$counter");';
|
H A D | foreachLoop.014.phpt | 66 $transform = 'array_unshift($a, "new.$counter");';
|
H A D | foreachLoop.015.phpt | 66 $transform = 'array_unshift($a, "new.$counter");';
|
H A D | foreachLoop.013.phpt | 64 $transform = 'array_unshift($a, "new.$counter");';
|
/php-src/ext/phar/tests/files/ |
H A D | pear2coverage.phar | 605 array_unshift($xdebugs, ''); 659 array_unshift($this->source, ''); 887 array_unshift($xdebugs, '');
|
/php-src/ext/standard/ |
H A D | basic_functions.stub.php | 1668 function array_unshift(array &$array, mixed ...$values): int {} function
|
H A D | basic_functions_arginfo.h | 2343 ZEND_FUNCTION(array_unshift); 2936 ZEND_FE(array_unshift, arginfo_array_unshift)
|
H A D | array.c | 3719 PHP_FUNCTION(array_unshift) argument
|