/dports/lang/php73/php-7.3.33/ext/standard/tests/array/ |
H A D | array_values_variation1.phpt | 2 Test array_values() function : usage variations - Pass different data types as $input arg 5 /* Prototype : array array_values(array $input) 11 * Pass different data types as $input argument to array_values() to test behaviour 14 echo "*** Testing array_values() : usage variations ***\n"; 85 // loop through each element of $inputs to check the behavior of array_values() 89 var_dump( array_values($input) ); 98 *** Testing array_values() : usage variations *** 102 Warning: array_values() expects parameter 1 to be array, int given in %s on line %d 107 Warning: array_values() expects parameter 1 to be array, int given in %s on line %d 112 Warning: array_values() expects parameter 1 to be array, int given in %s on line %d [all …]
|
H A D | array_values_error.phpt | 2 Test array_values() function : error conditions - Pass incorrect number of functions 5 /* Prototype : array array_values(array $input) 11 * Pass incorrect number of arguments to array_values to test behaviour 14 echo "*** Testing array_values() : error conditions ***\n"; 17 echo "\n-- Testing array_values() function with Zero arguments --\n"; 18 var_dump( array_values() ); 20 //Test array_values with one more than the expected number of arguments 24 var_dump( array_values($input, $extra_arg) ); 29 *** Testing array_values() : error conditions *** 31 -- Testing array_values() function with Zero arguments -- [all …]
|
H A D | array_values_errors.phpt | 2 Test array_values() function (errors) 10 var_dump( array_values() ); // Zero arguments 11 var_dump( array_values(array(1,2,3), "") ); // No. of args > expected 13 var_dump( array_values("") ); // Empty string 14 var_dump( array_values(100) ); // Integer 15 var_dump( array_values(new stdclass) ); // object 22 Warning: array_values() expects exactly 1 parameter, 0 given in %s on line %d 25 Warning: array_values() expects exactly 1 parameter, 2 given in %s on line %d 28 Warning: array_values() expects parameter 1 to be array, string given in %s on line %d 31 Warning: array_values() expects parameter 1 to be array, int given in %s on line %d [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_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_variation7.phpt | 2 Test array_values() function : usage variations - Internal order check 5 /* Prototype : array array_values(array $input) 11 * Check that array_values is re-assigning keys according to the internal order of the array, 15 echo "*** Testing array_values() : usage variations ***\n"; 23 echo "\n-- Result of array_values() --\n"; 24 var_dump(array_values($input)); 29 *** Testing array_values() : usage variations *** 43 -- Result of array_values() --
|
/dports/www/mod_php73/php-7.3.33/ext/standard/tests/array/ |
H A D | array_values_variation1.phpt | 2 Test array_values() function : usage variations - Pass different data types as $input arg 5 /* Prototype : array array_values(array $input) 11 * Pass different data types as $input argument to array_values() to test behaviour 14 echo "*** Testing array_values() : usage variations ***\n"; 85 // loop through each element of $inputs to check the behavior of array_values() 89 var_dump( array_values($input) ); 98 *** Testing array_values() : usage variations *** 102 Warning: array_values() expects parameter 1 to be array, int given in %s on line %d 107 Warning: array_values() expects parameter 1 to be array, int given in %s on line %d 112 Warning: array_values() expects parameter 1 to be array, int given in %s on line %d [all …]
|
H A D | array_values_error.phpt | 2 Test array_values() function : error conditions - Pass incorrect number of functions 5 /* Prototype : array array_values(array $input) 11 * Pass incorrect number of arguments to array_values to test behaviour 14 echo "*** Testing array_values() : error conditions ***\n"; 17 echo "\n-- Testing array_values() function with Zero arguments --\n"; 18 var_dump( array_values() ); 20 //Test array_values with one more than the expected number of arguments 24 var_dump( array_values($input, $extra_arg) ); 29 *** Testing array_values() : error conditions *** 31 -- Testing array_values() function with Zero arguments -- [all …]
|
H A D | array_values_errors.phpt | 2 Test array_values() function (errors) 10 var_dump( array_values() ); // Zero arguments 11 var_dump( array_values(array(1,2,3), "") ); // No. of args > expected 13 var_dump( array_values("") ); // Empty string 14 var_dump( array_values(100) ); // Integer 15 var_dump( array_values(new stdclass) ); // object 22 Warning: array_values() expects exactly 1 parameter, 0 given in %s on line %d 25 Warning: array_values() expects exactly 1 parameter, 2 given in %s on line %d 28 Warning: array_values() expects parameter 1 to be array, string given in %s on line %d 31 Warning: array_values() expects parameter 1 to be array, int given in %s on line %d [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_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 …]
|
/dports/www/horde-wicked/wicked-2.0.8/lib/Text_Wiki/tests/ |
H A D | Text_Wiki_Parse_Mediawiki_Tests.php | 92 $this->assertEquals(array_values($tokens), array_values($this->t->wiki->tokens)); 130 $this->assertEquals(array_values($tokens), array_values($this->t->wiki->tokens)); 256 $this->assertEquals(array_values($tokens), array_values($this->t->wiki->tokens)); 288 $this->assertEquals(array_values($tokens), array_values($this->t->wiki->tokens)); 354 $this->assertEquals(array_values($tokens), array_values($this->t->wiki->tokens)); 451 $this->assertEquals(array_values($tokens), array_values($this->t->wiki->tokens)); 496 $this->assertEquals(array_values($tokens), array_values($this->t->wiki->tokens)); 545 $this->assertEquals(array_values($tokens), array_values($this->t->wiki->tokens)); 599 $this->assertEquals(array_values($tokens), array_values($this->t->wiki->tokens)); 659 $this->assertEquals(array_values($tokens), array_values($this->t->wiki->tokens)); [all …]
|
/dports/www/mod_php81/php-8.1.1/ext/standard/tests/array/ |
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_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 …]
|
/dports/lang/php80/php-8.0.15/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 …]
|
/dports/lang/php74/php-7.4.27/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_variation7.phpt | 2 Test array_values() function : usage variations - Internal order check 5 /* Prototype : array array_values(array $input) 11 * Check that array_values is re-assigning keys according to the internal order of the array, 15 echo "*** Testing array_values() : usage variations ***\n"; 23 echo "\n-- Result of array_values() --\n"; 24 var_dump(array_values($input)); 29 *** Testing array_values() : usage variations *** 43 -- Result of array_values() --
|
/dports/lang/php81/php-8.1.1/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 …]
|
/dports/www/mod_php74/php-7.4.27/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 …]
|
/dports/www/mod_php80/php-8.0.15/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 …]
|