Searched refs:array_splice (Results 1 – 15 of 15) sorted by relevance
/PHP-8.0/ext/standard/tests/array/ |
H A D | bug28974.phpt | 12 echo 'print_r(array_splice($a,2,1));'."\n"; 13 print_r(array_splice($a,2,1)); 16 echo 'print_r(array_splice($b,2,2147483645));'."\n"; 17 print_r(array_splice($b,2,2147483645)); 22 echo 'print_r(array_splice($c,2,2147483646));'."\n"; 23 print_r(array_splice($c,2,2147483646)); 51 print_r(array_splice($a,2,1)); 64 print_r(array_splice($b,2,2147483645)); 77 print_r(array_splice($c,2,2147483646));
|
H A D | array_splice_basic.phpt | 2 Test array_splice(): basic functionality 9 echo "*** Testing array_splice() basic operations ***\n"; 12 var_dump (array_splice($input, 2)); 18 var_dump (array_splice($input, 2, null)); 24 var_dump (array_splice($input, 1, -1)); 30 var_dump (array_splice($input, 1, count($input), "orange")); 35 var_dump (array_splice($input, -1, 1, array("black", "maroon"))); 42 var_dump (array_splice($input, 3, 0, "purple")); 50 *** Testing array_splice() basic operations ***
|
H A D | array_splice_variation1.phpt | 2 Test array_splice() function : usage variations - references 14 var_dump (array_splice ($input_array[0],1,1)); 25 var_dump (array_splice ($input_array,4,3)); 34 array_splice ($input_array,-1,1,$b); 43 array_splice ($input_array,-1,1,$b);
|
H A D | bug31158.phpt | 2 Bug #31158 (array_splice on $GLOBALS crashes) 9 array_splice($GLOBALS,0,count($GLOBALS));
|
H A D | array_splice_variation4.phpt | 2 Test array_splice() function : usage variations - non array replacement values 12 var_dump (array_splice ($input_array,2,0,$replacement));
|
H A D | array_splice_variation3.phpt | 2 Test array_splice() function : usage variations - lengths and offsets 9 echo "*** array_splice() function : usage variations - lengths and offsets\n"; 16 var_dump (array_splice ($input_array,$offset,$length)); 20 var_dump (array_splice ($input_array,$offset,$length,array ("A","B","C"))); 74 *** array_splice() function : usage variations - lengths and offsets
|
/PHP-8.0/Zend/tests/ |
H A D | foreach_017.phpt | 2 array_splice() function precerve foreach by reference iterator pointer 12 array_splice($a, 1, 2); 24 array_splice($a, 2, 2); 36 array_splice($a, 1, 3); 50 array_splice($a, 1, 2, $replacement); 62 array_splice($a, 2, 2, $replacement); 74 array_splice($a, 1, 3, $replacement);
|
H A D | array_splice_empty_ht_iter_removal.phpt | 2 HT iterator should be destroyed if array becomes empty during array_splice 9 $a = array_splice($a, 0);
|
H A D | bug67169.phpt | 2 Bug #67169: array_splice all elements, then []= gives wrong index 7 array_splice($array, 0, 2);
|
H A D | bug33257.phpt | 2 Bug #33257 (array_splice() inconsistent when passed function instead of variable) 15 array_splice(X::getArr(), 1, 1);
|
H A D | bug52193.phpt | 23 array_splice($items, 0 , 4, $func);
|
/PHP-8.0/ext/standard/ |
H A D | basic_functions.stub.php | 142 function array_splice(array &$array, int $offset, ?int $length = null, mixed $replacement = []): ar… function
|
H A D | basic_functions_arginfo.h | 2269 ZEND_FUNCTION(array_splice); 2894 ZEND_FE(array_splice, arginfo_array_splice)
|
H A D | array.c | 3386 PHP_FUNCTION(array_splice) argument
|
/PHP-8.0/ |
H A D | UPGRADING | 557 . The length argument for array_splice() can now be null. Null values will
|
Completed in 90 milliseconds