Home
last modified time | relevance | path

Searched refs:array_unique (Results 1 – 23 of 23) sorted by relevance

/PHP-8.0/ext/standard/tests/array/
H A Darray_unique_basic.phpt2 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 Darray_unique_variation5.phpt2 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 Darray_unique_variation7.phpt2 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 Darray_unique_variation6.phpt2 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 Darray_unique_variation8.phpt2 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 Dbug40191.phpt2 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 Dbug79868.phpt2 Bug #79868: Sorting with array_unique gives unwanted result
6 var_dump(array_unique(['b', 'a', 'b'], SORT_REGULAR));
H A Darray_unique_variation3.phpt2 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";
51 // loop through each sub-array of $inputs to check the behavior of array_unique()
55 var_dump( array_unique($input) );
64 *** Testing array_unique() : assoc. array with diff. keys passed to $input argument ***
H A Darray_unique_variation4.phpt2 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";
51 // loop through each sub-array of $inputs to check the behavior of array_unique()
55 var_dump( array_unique($input) );
64 *** Testing array_unique() : assoc. array with diff. values to $input argument ***
H A Darray_unique_variation2.phpt2 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 Darray_unique_variation9.phpt2 Test array_unique() function : usage variations - more than 16 elements
80 print_r(array_unique($a));
H A Darray_diff_variation8.phpt52 // loop through each sub-array of $inputs to check the behavior of array_unique()
/PHP-8.0/ext/reflection/tests/
H A Dbug70960.phpt2 Bug #70960 (ReflectionFunction for array_unique returns wrong number of parameters)
6 $ref = new ReflectionFunction('array_unique');
/PHP-8.0/Zend/tests/
H A Dunset_cv08.phpt2 unset() CV 8 (unset() of global variable in array_unique($GLOBALS))
7 @array_unique($GLOBALS);
/PHP-8.0/ext/standard/tests/dir/
H A Dbug78220.phpt9 $onedrive_dirs = array_unique([getenv('OneDrive'), getenv('OneDriveCommercial')]);
/PHP-8.0/ext/intl/tests/
H A Duconverter_getstandards_basic.phpt14 assertTrue($standards === array_unique($standards), '$standards values must be unique');
/PHP-8.0/scripts/dev/
H A Dfind_tested.php214 $functions = array_unique($functions);
/PHP-8.0/ext/phar/tests/files/
H A Dpear2coverage.phar592 $xdebugs = array_unique($xdebugs);
874 $xdebugs = array_unique($xdebugs);
/PHP-8.0/
H A Drun-tests.php709 $test_files = array_unique($test_files);
778 $test_files = array_unique($test_files);
H A DNEWS1535 . Fixed bug #79868 (Sorting with array_unique gives unwanted result). (Nikita)
/PHP-8.0/ext/standard/
H A Dbasic_functions.stub.php174 function array_unique(array $array, int $flags = SORT_STRING): array {} function
H A Dbasic_functions_arginfo.h2285 ZEND_FUNCTION(array_unique);
2910 ZEND_FE(array_unique, arginfo_array_unique)
H A Darray.c4453 PHP_FUNCTION(array_unique) argument

Completed in 77 milliseconds