Searched refs:array_unique (Results 1 – 25 of 27) sorted by relevance
12
/PHP-8.1/ext/standard/tests/array/ |
H A D | array_unique_basic.phpt | 2 Test array_unique() function : basic functionality 5 echo "*** Testing array_unique() : basic functionality ***\n"; 9 var_dump( array_unique($input) ); 13 var_dump( array_unique($input) ); 17 var_dump( array_unique($input) ); 22 *** Testing array_unique() : basic functionality ***
|
H A D | array_unique_variation5.phpt | 2 Test array_unique() function : usage variations - array with duplicate keys 6 * Testing the functionality of array_unique() by passing 10 echo "*** Testing array_unique() : array with duplicate keys for \$input argument ***\n"; 14 var_dump( array_unique($input) ); 19 *** 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 6 * Testing the functionality of array_unique() by passing an array having binary values. 9 echo "*** Testing array_unique() : array with binary data for \$input argument ***\n"; 14 var_dump( array_unique($input) ); 19 *** 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 6 * Testing the functionality of array_unique() by passing 10 echo "*** Testing array_unique() : array with reference variables for \$input argument ***\n"; 27 var_dump( array_unique($input, SORT_STRING) ); 32 *** 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 6 * Testing the functionality of array_unique() by passing 10 echo "*** Testing array_unique() : two dimensional array for \$input argument ***\n"; 20 var_dump( array_unique($input, SORT_STRING) ); 25 *** 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) 12 $arr = array_unique($arrObj); 20 array_unique(): Argument #1 ($array) must be of type array, ArrayObject given
|
H A D | array_unique_variation4.phpt | 2 Test array_unique() function : usage variations - associative array with different values 6 * Testing the functionality of array_unique() by passing different 10 echo "*** Testing array_unique() : assoc. array with diff. values to \$input argument ***\n"; 47 // loop through each sub-array of $inputs to check the behavior of array_unique() 51 var_dump( array_unique($input) ); 60 *** 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 6 * Testing the functionality of array_unique() by passing different 10 echo "*** Testing array_unique() : assoc. array with diff. keys passed to \$input argument ***\n"; 47 // loop through each sub-array of $inputs to check the behavior of array_unique() 51 var_dump( array_unique($input) ); 60 *** Testing array_unique() : assoc. array with diff. keys passed to $input argument ***
|
H A D | bug79868.phpt | 2 Bug #79868: Sorting with array_unique gives unwanted result 6 var_dump(array_unique(['b', 'a', 'b'], SORT_REGULAR));
|
H A D | array_unique_variation2.phpt | 2 Test array_unique() function : usage variations - different arrays for 'input' argument 7 * array_unique() behaves in an expected way. 10 echo "*** Testing array_unique() : Passing different arrays to \$input argument ***\n"; 68 // loop through each sub-array of $inputs to check the behavior of array_unique() 72 var_dump( array_unique($input, SORT_STRING) ); 79 *** 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 | 52 // loop through each sub-array of $inputs to check the behavior of array_unique()
|
/PHP-8.1/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-8.1/Zend/tests/ |
H A D | unset_cv08.phpt | 2 unset() CV 8 (unset() of global variable in array_unique($GLOBALS)) 7 @array_unique($GLOBALS);
|
H A D | gh9775_2.phpt | 2 GH-9775: Pure enum in array_unique() 33 $data = array_unique($data, flags: SORT_REGULAR);
|
H A D | gh9775_1.phpt | 2 GH-9775: Backed enum in array_unique() 33 $data = array_unique($data, flags: SORT_REGULAR);
|
/PHP-8.1/ext/standard/tests/dir/ |
H A D | bug78220.phpt | 9 $onedrive_dirs = array_unique([getenv('OneDrive'), getenv('OneDriveCommercial')]);
|
/PHP-8.1/ext/intl/tests/ |
H A D | uconverter_getstandards_basic.phpt | 14 assertTrue($standards === array_unique($standards), '$standards values must be unique');
|
/PHP-8.1/sapi/fpm/tests/ |
H A D | gh8646.phpt | 38 var_dump(count(array_unique($map_ptr_last_values, SORT_REGULAR)) === 1);
|
/PHP-8.1/scripts/dev/ |
H A D | find_tested.php | 214 $functions = array_unique($functions);
|
/PHP-8.1/ |
H A D | run-tests.php | 697 $test_files = array_unique($test_files); 766 $test_files = array_unique($test_files);
|
/PHP-8.1/ext/phar/tests/files/ |
H A D | pear2coverage.phar | 592 $xdebugs = array_unique($xdebugs); 874 $xdebugs = array_unique($xdebugs);
|
/PHP-8.1/ext/standard/ |
H A D | basic_functions.stub.php | 222 function array_unique(array $array, int $flags = SORT_STRING): array {} function
|
H A D | basic_functions_arginfo.h | 2294 ZEND_FUNCTION(array_unique); 2922 ZEND_FE(array_unique, arginfo_array_unique)
|
/PHP-8.1/build/ |
H A D | gen_stub.php | 3328 foreach (array_unique($locations) as $location) {
|
Completed in 68 milliseconds
12