Searched refs:array_unique (Results 1 – 23 of 23) sorted by relevance
/PHP-7.3/ext/standard/tests/array/ |
H A D | array_unique_error.phpt | 2 Test array_unique() function : error conditions 5 /* Prototype : array array_unique(array $input) 10 echo "*** Testing array_unique() : error conditions ***\n"; 13 echo "\n-- Testing array_unique() function with zero arguments --\n"; 14 var_dump( array_unique() ); 16 //Test array_unique with one more than the expected number of arguments 20 var_dump( array_unique($input, SORT_NUMERIC, $extra_arg) ); 25 *** Testing array_unique() : error conditions *** 27 -- Testing array_unique() function with zero arguments -- 29 Warning: array_unique() expects at least 1 parameter, 0 given in %s on line %d [all …]
|
H A D | array_unique_variation1.phpt | 2 Test array_unique() function : usage variations - unexpected values for 'input' argument 5 /* Prototype : array array_unique(array $input) 11 * Passing non array values to 'input' argument of array_unique() and see 15 echo "*** Testing array_unique() : Passing non array values to \$input argument ***\n"; 85 // loop through each element of $inputs and check the behavior of array_unique() 89 var_dump( array_unique($input) ); 98 *** Testing array_unique() : Passing non array values to $input argument *** 101 Warning: array_unique() expects parameter 1 to be array, int given in %s on line %d 105 Warning: array_unique() expects parameter 1 to be array, int given in %s on line %d 109 Warning: array_unique() expects parameter 1 to be array, int given in %s on line %d [all …]
|
H A D | array_unique_basic.phpt | 2 Test array_unique() function : basic functionality 5 /* Prototype : array array_unique(array $input) 10 echo "*** Testing array_unique() : basic functionality ***\n"; 14 var_dump( array_unique($input) ); 18 var_dump( array_unique($input) ); 22 var_dump( array_unique($input) ); 27 *** Testing array_unique() : basic functionality ***
|
H A D | array_unique_variation5.phpt | 2 Test array_unique() function : usage variations - array with duplicate keys 5 /* Prototype : array array_unique(array $input) 11 * Testing the functionality of array_unique() by passing 15 echo "*** Testing array_unique() : array with duplicate keys for \$input argument ***\n"; 19 var_dump( array_unique($input) ); 24 *** Testing array_unique() : array with duplicate keys for $input argument ***
|
H A D | array_unique_variation7.phpt | 2 Test array_unique() function : usage variations - binary safe checking 5 /* Prototype : array array_unique(array $input) 11 * Testing the functionality of array_unique() by passing an array having binary values. 14 echo "*** Testing array_unique() : array with binary data for \$input argument ***\n"; 19 var_dump( array_unique($input) ); 24 *** Testing array_unique() : array with binary data for $input argument ***
|
H A D | array_unique_variation6.phpt | 2 Test array_unique() function : usage variations - array with reference variables 5 /* Prototype : array array_unique(array $input) 11 * Testing the functionality of array_unique() by passing 15 echo "*** Testing array_unique() : array with reference variables for \$input argument ***\n"; 32 var_dump( array_unique($input, SORT_STRING) ); 37 *** Testing array_unique() : array with reference variables for $input argument ***
|
H A D | array_unique_variation8.phpt | 2 Test array_unique() function : usage variations - two dimensional arrays 5 /* Prototype : array array_unique(array $input) 11 * Testing the functionality of array_unique() by passing 15 echo "*** Testing array_unique() : two dimensional array for \$input argument ***\n"; 25 var_dump( array_unique($input, SORT_STRING) ); 30 *** Testing array_unique() : two dimensional array for $input argument ***
|
H A D | bug40191.phpt | 2 Bug #40191 (use of array_unique() with objects triggers segfault) 11 $arr = array_unique($arrObj); 17 Warning: array_unique() expects parameter 1 to be array, object given in %s on line %d
|
H A D | array_unique_variation4.phpt | 2 Test array_unique() function : usage variations - associative array with different values 5 /* Prototype : array array_unique(array $input) 11 * Testing the functionality of array_unique() by passing different 15 echo "*** Testing array_unique() : assoc. array with diff. values to \$input argument ***\n"; 56 // loop through each sub-array of $inputs to check the behavior of array_unique() 60 var_dump( array_unique($input) ); 69 *** Testing array_unique() : assoc. array with diff. values to $input argument ***
|
H A D | array_unique_variation3.phpt | 2 Test array_unique() function : usage variations - associative array with different keys 5 /* Prototype : array array_unique(array $input) 11 * Testing the functionality of array_unique() by passing different 15 echo "*** Testing array_unique() : assoc. array with diff. keys passed to \$input argument ***\n"; 56 // loop through each sub-array of $inputs to check the behavior of array_unique() 60 var_dump( array_unique($input) ); 69 *** Testing array_unique() : assoc. array with diff. keys passed to $input argument ***
|
H A D | array_unique_variation2.phpt | 2 Test array_unique() function : usage variations - different arrays for 'input' argument 5 /* Prototype : array array_unique(array $input) 12 * array_unique() behaves in an expected way. 15 echo "*** Testing array_unique() : Passing different arrays to \$input argument ***\n"; 73 // loop through each sub-array of $inputs to check the behavior of array_unique() 77 var_dump( array_unique($input, SORT_STRING) ); 84 *** Testing array_unique() : Passing different arrays to $input argument ***
|
H A D | array_unique_variation9.phpt | 2 Test array_unique() function : usage variations - more than 16 elements 80 print_r(array_unique($a));
|
H A D | array_diff_variation8.phpt | 58 // loop through each sub-array of $inputs to check the behavior of array_unique()
|
/PHP-7.3/ext/reflection/tests/ |
H A D | bug70960.phpt | 2 Bug #70960 (ReflectionFunction for array_unique returns wrong number of parameters) 6 $ref = new ReflectionFunction('array_unique');
|
/PHP-7.3/Zend/tests/ |
H A D | unset_cv08.phpt | 2 unset() CV 8 (unset() of global variable in array_unique($GLOBALS)) 7 @array_unique($GLOBALS);
|
/PHP-7.3/ext/standard/tests/dir/ |
H A D | bug78220.phpt | 9 $onedrive_dirs = array_unique([getenv('OneDrive'), getenv('OneDriveCommercial')]);
|
/PHP-7.3/ext/intl/tests/ |
H A D | uconverter_getstandards_basic.phpt | 14 assertTrue($standards === array_unique($standards), '$standards values must be unique');
|
/PHP-7.3/ext/standard/ |
H A D | php_array.h | 81 PHP_FUNCTION(array_unique);
|
H A D | basic_functions.c | 3383 PHP_FE(array_unique, arginfo_array_unique)
|
H A D | array.c | 4471 PHP_FUNCTION(array_unique) argument
|
/PHP-7.3/scripts/dev/ |
H A D | find_tested.php | 213 $functions = array_unique($functions);
|
/PHP-7.3/ext/phar/tests/files/ |
H A D | pear2coverage.phar.php | 592 $xdebugs = array_unique($xdebugs); 874 $xdebugs = array_unique($xdebugs);
|
/PHP-7.3/ |
H A D | run-tests.php | 825 $test_files = array_unique($test_files); 978 $test_files = array_unique($test_files);
|
Completed in 52 milliseconds