Searched refs:array_unique (Results 1 – 20 of 20) sorted by relevance
/PHP-5.4/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 *** 137 Warning: array_unique() expects parameter 1 to be array, null given in %s on line %d 141 Warning: array_unique() expects parameter 1 to be array, null given in %s on line %d 185 Warning: array_unique() expects parameter 1 to be array, null 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_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 | bug40191.phpt | 2 Bug #40191 (use of array_unique() with objects triggers segfault) 13 $arr = array_unique($arrObj); 19 Warning: array_unique() expects parameter 1 to be array, object given in %s on line %d
|
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_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 | 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_diff_variation8.phpt | 58 // loop through each sub-array of $inputs to check the behavior of array_unique()
|
/PHP-5.4/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-5.4/ext/standard/ |
H A D | php_array.h | 80 PHP_FUNCTION(array_unique);
|
H A D | array.c | 2777 PHP_FUNCTION(array_unique) in PHP_FUNCTION() argument
|
H A D | basic_functions.c | 3319 PHP_FE(array_unique, arginfo_array_unique)
|
/PHP-5.4/scripts/dev/ |
H A D | find_tested.php | 207 $functions = array_unique($functions);
|
/PHP-5.4/ext/phar/tests/files/ |
H A D | pear2coverage.phar.php | 592 $xdebugs = array_unique($xdebugs); 874 $xdebugs = array_unique($xdebugs);
|
/PHP-5.4/ |
H A D | run-tests.php | 783 $test_files = array_unique($test_files); 934 $test_files = array_unique($test_files);
|
H A D | NEWS | 5135 - Changed default value of array_unique()'s optional sorting type parameter 5310 - Added optional sorting type flag parameter to array_unique(). Default is 6660 - Fixed bug #40191 (use of array_unique() with objects triggers segfault).
|
Completed in 101 milliseconds