Home
last modified time | relevance | path

Searched refs:uksort (Results 1 – 21 of 21) sorted by relevance

/PHP-5.5/ext/standard/tests/array/
H A Duksort_error.phpt2 Test uksort() function : error conditions
5 /* Prototype : bool uksort(array array_arg, string cmp_function)
11 echo "*** Testing uksort() : error conditions ***\n";
17 var_dump( uksort($array_arg, $cmp_function, $extra_arg) );
21 var_dump( uksort($array_arg) );
23 echo "\n-- Testing uksort() function with zero arguments --\n";
24 var_dump( uksort() );
29 *** Testing uksort() : error conditions ***
31 -- Testing uksort() function with more than expected no. of arguments --
36 -- Testing uksort() function with less than expected no. of arguments --
[all …]
H A Duksort_variation1.phpt2 Test uksort() function : usage variation
5 /* Prototype : bool uksort(array array_arg, string cmp_function)
11 echo "*** Testing uksort() : usage variation ***\n";
92 var_dump( uksort($value, $cmp_function) );
98 *** Testing uksort() : usage variation ***
122 Warning: uksort() expects parameter 1 to be array, double given in %suksort_variation1.php on line …
127 Warning: uksort() expects parameter 1 to be array, double given in %suksort_variation1.php on line …
147 Warning: uksort() expects parameter 1 to be array, null given in %suksort_variation1.php on line %d
152 Warning: uksort() expects parameter 1 to be array, null given in %suksort_variation1.php on line %d
217 Warning: uksort() expects parameter 1 to be array, null given in %suksort_variation1.php on line %d
[all …]
H A Duksort_variation2.phpt2 Test uksort() function : usage variation
5 /* Prototype : bool uksort(array array_arg, string cmp_function)
11 echo "*** Testing uksort() : usage variation ***\n";
92 var_dump( uksort($array_arg, $value) );
98 *** Testing uksort() : usage variation ***
102 Warning: uksort() expects parameter 2 to be a valid callback, no array or string given in %suksort_…
107 Warning: uksort() expects parameter 2 to be a valid callback, no array or string given in %suksort_…
112 Warning: uksort() expects parameter 2 to be a valid callback, no array or string given in %suksort_…
117 Warning: uksort() expects parameter 2 to be a valid callback, no array or string given in %suksort_…
122 Warning: uksort() expects parameter 2 to be a valid callback, no array or string given in %suksort_…
[all …]
H A D003.phpt2 Test usort, uksort and uasort
22 echo "\n -- Testing uksort() -- \n";
23 uksort ($data, 'cmp');
56 -- Testing uksort() --
H A Dbug50006.phpt2 Bug #50006 (Segfault caused by uksort())
11 uksort($data, 'magic_sort_cmp');
H A Duksort_basic.phpt2 Test uksort(): basic functionality
6 * proto bool uksort ( array &$array, callback $cmp_function )
H A Darray_user_key_compare.phpt14 uksort($arr, "array_compare");
H A Dbug50006_1.phpt2 Bug #50006 (Segfault caused by uksort()) - usort variant
H A Dbug50006_2.phpt2 Bug #50006 (Segfault caused by uksort()) - uasort variant
/PHP-5.5/ext/spl/tests/
H A DarrayObject_uksort_basic1.phpt2 Test ArrayObject::uksort() function : basic functionality
5 /* Prototype : int ArrayObject::uksort(callback cmp_function)
6 * Description: proto int ArrayIterator::uksort(callback cmp_function)
12 echo "*** Testing ArrayObject::uksort() : basic functionality ***\n";
26 $ao->uksort('cmp');
31 *** Testing ArrayObject::uksort() : basic functionality ***
H A DarrayObject_uksort_error1.phpt2 Test ArrayObject::uksort() function : wrong arg count
5 /* Prototype : int ArrayObject::uksort(callback cmp_function)
6 * Description: proto int ArrayIterator::uksort(callback cmp_function)
15 $ao->uksort();
21 $ao->uksort(1,2);
H A Dbug67539.phpt13 $it->uksort('badsort');
/PHP-5.5/ext/standard/tests/strings/
H A Dget_html_translation_table_basic6.phpt13 uksort( $tt, 'so' );
30 uksort( $tt, 'so' );
37 uksort( $tt, 'so' );
H A Dget_html_translation_table_basic10.phpt10 uksort( $tt, 'so' );
/PHP-5.5/ext/spl/examples/
H A Dclass_tree.php77 $this->uksort('strnatcasecmp');
/PHP-5.5/ext/spl/
H A Dspl.php661 function uksort(mixed cmp_function) {/**/} function in ArrayObject
782 function uksort(mixed cmp_function) {/**/} function in ArrayIterator
H A Dspl_array.c1517 SPL_ARRAY_METHOD(Array, uksort, SPL_ARRAY_METHOD_USE_ARG) /* }}} */ in SPL_ARRAY_METHOD()
1906 SPL_ME(Array, uksort, arginfo_array_uXsort, ZEND_ACC_PUBLIC)
1933 SPL_ME(Array, uksort, arginfo_array_uXsort, ZEND_ACC_PUBLIC)
/PHP-5.5/ext/standard/
H A Dphp_array.h40 PHP_FUNCTION(uksort);
H A Darray.c774 PHP_FUNCTION(uksort) in PHP_FUNCTION() argument
H A Dbasic_functions.c3298 PHP_FE(uksort, arginfo_uksort)
/PHP-5.5/
H A DNEWS5232 - Improved fix for bug #50006 (Segfault caused by uksort()). (Stas)

Completed in 107 milliseconds