Home
last modified time | relevance | path

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

12

/PHP-8.2/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 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";
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 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";
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 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_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.2/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.2/Zend/tests/
H A Dunset_cv08.phpt2 unset() CV 8 (unset() of global variable in array_unique($GLOBALS))
7 @array_unique($GLOBALS);
H A Dgh9775_2.phpt2 GH-9775: Pure enum in array_unique()
33 $data = array_unique($data, flags: SORT_REGULAR);
H A Dgh9775_1.phpt2 GH-9775: Backed enum in array_unique()
33 $data = array_unique($data, flags: SORT_REGULAR);
/PHP-8.2/ext/random/tests/03_randomizer/methods/
H A DpickArrayKeys.phpt44 if (array_unique($result) !== $result) {
54 if (array_unique($result) !== $result) {
64 if (array_unique($result) !== $result) {
/PHP-8.2/ext/standard/tests/dir/
H A Dbug78220.phpt9 $onedrive_dirs = array_unique([getenv('OneDrive'), getenv('OneDriveCommercial')]);
/PHP-8.2/ext/intl/tests/
H A Duconverter_getstandards_basic.phpt14 assertTrue($standards === array_unique($standards), '$standards values must be unique');
/PHP-8.2/sapi/fpm/tests/
H A Dgh8646.phpt38 var_dump(count(array_unique($map_ptr_last_values, SORT_REGULAR)) === 1);
/PHP-8.2/scripts/dev/
H A Dfind_tested.php214 $functions = array_unique($functions);
/PHP-8.2/
H A Drun-tests.php696 $test_files = array_unique($test_files);
765 $test_files = array_unique($test_files);
/PHP-8.2/ext/phar/tests/files/
H A Dpear2coverage.phar592 $xdebugs = array_unique($xdebugs);
874 $xdebugs = array_unique($xdebugs);
/PHP-8.2/ext/standard/
H A Dbasic_functions.stub.php1078 function array_unique(array $array, int $flags = SORT_STRING): array {} function
H A Dbasic_functions_arginfo.h2276 ZEND_FUNCTION(array_unique);
2899 ZEND_SUPPORTS_COMPILE_TIME_EVAL_FE(array_unique, arginfo_array_unique)

Completed in 78 milliseconds

12