/PHP-8.2/ext/standard/tests/array/ |
H A D | array_values_variation.phpt | 2 Test array_values() function (variation) 12 echo "\n*** Testing array_values() with resource type ***\n"; 18 var_dump( array_values($arr_resource) ); 20 echo "\n*** Testing array_values() with range checking ***\n"; 30 var_dump( array_values($arr_range) ); 32 echo "\n*** Testing array_values() on an array created on the fly ***\n"; 33 var_dump( array_values(array(1,2,3)) ); 34 var_dump( array_values(array()) ); // null array 39 *** Testing array_values() with resource type *** 47 *** Testing array_values() with range checking *** [all …]
|
H A D | array_values_variation_64bit.phpt | 2 Test array_values() function 12 echo "\n*** Testing array_values() with resource type ***\n"; 18 var_dump( array_values($arr_resource) ); 20 echo "\n*** Testing array_values() with range checking ***\n"; 30 var_dump( array_values($arr_range) ); 32 echo "\n*** Testing array_values() on an array created on the fly ***\n"; 33 var_dump( array_values(array(1,2,3)) ); 34 var_dump( array_values(array()) ); // null array 38 *** Testing array_values() with resource type *** 46 *** Testing array_values() with range checking *** [all …]
|
H A D | array_values_basic.phpt | 2 Test array_values() function : basic functionality 6 * Test basic functionality of array_values() 9 echo "*** Testing array_values() : basic functionality ***\n"; 15 // Calling array_values() with all possible arguments 16 var_dump( array_values($input) ); 21 *** Testing array_values() : basic functionality ***
|
H A D | array_values_variation7.phpt | 2 Test array_values() function : usage variations - Internal order check 6 * Check that array_values is re-assigning keys according to the internal order of the array, 10 echo "*** Testing array_values() : usage variations ***\n"; 18 echo "\n-- Result of array_values() --\n"; 19 var_dump(array_values($input)); 24 *** Testing array_values() : usage variations *** 38 -- Result of array_values() --
|
H A D | array_values_variation5.phpt | 2 Test array_values() function : usage variations - internal array pointer 6 * Test the position of the internal array pointer after a call to array_values 9 echo "*** Testing array_values() : usage variations ***\n"; 13 echo "\n-- Call array_values() --\n"; 14 var_dump($result = array_values($input)); 24 *** Testing array_values() : usage variations *** 26 -- Call array_values() --
|
H A D | array_values_variation6.phpt | 2 Test array_values() function : usage variations - Referenced variables 6 * Test array_values() when: 11 echo "*** Testing array_values() : usage variations ***\n"; 19 var_dump($result1 = array_values($input)); 21 echo "Change \$val2 and check result of array_values():\n"; 28 *** Testing array_values() : usage variations *** 39 Change $val2 and check result of array_values():
|
H A D | array_values_variation4.phpt | 2 Test array_values() function : usage variations - multi-dimensional arrays 6 * Test array_values when: 12 echo "*** Testing array_values() : usage variations ***\n"; 17 var_dump(array_values($input)); 20 var_dump(array_values($input['sub'])); 25 var_dump(array_values($input)); 30 *** Testing array_values() : usage variations ***
|
H A D | array_values.phpt | 2 Test array_values() function 7 echo "*** Testing array_values() on basic array ***\n"; 9 var_dump( array_values($basic_arr) ); 11 echo "\n*** Testing array_values() on various arrays ***"; 33 /* loop through to test array_values() with different arrays given above */ 36 var_dump( array_values($array) ); 43 *** Testing array_values() on basic array *** 64 *** Testing array_values() on various arrays ***
|
H A D | array_values_variation2.phpt | 2 Test array_values() function : usage variations - arrays of different data types 6 * Pass arrays of different data types as $input argument to array_values() to test behaviour 9 echo "*** Testing array_values() : usage variations ***\n"; 102 // loop through each element of $inputs to check the behavior of array_values() 106 var_dump( array_values($input) ); 115 *** Testing array_values() : usage variations ***
|
H A D | array_values_variation3.phpt | 2 Test array_values() function : usage variations - array keys different data types 7 * to array_values() to test behaviour 10 echo "*** Testing array_values() : usage variations ***\n"; 79 // loop through each element of $inputs to check the behavior of array_values() 83 var_dump( array_values($input) ); 89 *** Testing array_values() : usage variations ***
|
H A D | bug69166.phpt | 2 Fixed #69166 (Assigning array_values() to array does not reset key counter) 7 $ar = array_values($array);
|
H A D | bug75433.phpt | 2 array_values() preserves next index from source array when shallow-copying 8 $b = array_values($a);
|
H A D | bug75653.phpt | 2 Bug #75653: array_values don't work on empty array 8 $array = array_values($array);
|
H A D | packed_001.phpt | 2 array_keys() and array_values() w/ packed optimization 20 print_r(array_values($input));
|
H A D | array_column_variant.phpt | 17 echo "-- pass null as second parameter and no third param to get back array_values(input) --\n"; 65 -- pass null as second parameter and no third param to get back array_values(input) --
|
/PHP-8.2/ext/json/tests/ |
H A D | serialize.phpt | 30 return array_values(is_array($this->data) ? $this->data : get_object_vars($this->data)); 52 $ndata = array_values($adata);
|
/PHP-8.2/Zend/tests/ |
H A D | foreach_reference.phpt | 13 var_dump(array_values($array));
|
/PHP-8.2/ext/gd/tests/ |
H A D | bug74435.phpt | 14 list($red, $green, $blue, $alpha) = array_values(imagecolorsforindex($im, $index));
|
/PHP-8.2/ext/intl/tests/ |
H A D | uconverter_getstandards_basic.phpt | 13 assertTrue($standards === array_values($standards), '$standards keys must be numeric');
|
H A D | timezone_createTimeZoneIDEnumeration_variant2.phpt | 31 array_values(
|
/PHP-8.2/ext/spl/tests/ |
H A D | fixedarray_020.phpt | 7 var_dump(count($fa), $fa->toArray() === array_values($a));
|
/PHP-8.2/ext/zlib/tests/ |
H A D | bug60761.phpt | 32 $lens = array_values($lens);
|
/PHP-8.2/ext/phar/ |
H A D | shortarc.php | 234 … $ret['m'][$savepath] = array_values(unpack('Va/Vb/Vc/Vd/Ve/Vf', substr($m, $start, 24)));
|
/PHP-8.2/ext/phar/tests/ |
H A D | phar_setdefaultstub.phpt | 283 $ret['m'][$savepath] = array_values(unpack('Va/Vb/Vc/Vd/Ve/Vf', substr($m, $start, 24))); 578 $ret['m'][$savepath] = array_values(unpack('Va/Vb/Vc/Vd/Ve/Vf', substr($m, $start, 24))); 873 $ret['m'][$savepath] = array_values(unpack('Va/Vb/Vc/Vd/Ve/Vf', substr($m, $start, 24)));
|
H A D | phar_createdefaultstub.phpt | 263 $ret['m'][$savepath] = array_values(unpack('Va/Vb/Vc/Vd/Ve/Vf', substr($m, $start, 24))); 557 $ret['m'][$savepath] = array_values(unpack('Va/Vb/Vc/Vd/Ve/Vf', substr($m, $start, 24))); 859 $ret['m'][$savepath] = array_values(unpack('Va/Vb/Vc/Vd/Ve/Vf', substr($m, $start, 24)));
|