Home
last modified time | relevance | path

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

/PHP-8.1/ext/standard/tests/array/
H A Dnatcasesort_variation10.phpt2 Test natcasesort() function : usage variations - position of internal array pointer
6 * Check position of internal array pointer after calling natcasesort()
9 echo "*** Testing natcasesort() : usage variations ***\n";
16 echo "\n-- Call natcasesort() --\n";
17 var_dump(natcasesort($array_arg));
26 *** Testing natcasesort() : usage variations ***
31 -- Call natcasesort() --
H A Dnatcasesort_variation6.phpt2 Test natcasesort() function : usage variations - referenced variables
6 * Pass an array of referenced variables to test how natcasesort() re-orders it
9 echo "*** Testing natcasesort() : usage variation ***\n";
17 var_dump( natcasesort($array) );
22 var_dump( natcasesort($array) );
28 *** Testing natcasesort() : usage variation ***
H A Dnatcasesort_variation8.phpt2 Test natcasesort() function : usage variations - octal values
6 * Pass an array of octal values to test how natcasesort() re-orders it
9 echo "*** Testing natcasesort() : usage variation ***\n";
13 var_dump( natcasesort($unsorted_oct_array) );
19 *** Testing natcasesort() : usage variation ***
H A Dnatcasesort_variation7.phpt2 Test natcasesort() function : usage variations - recursive arrays
6 * Pass natcasesort() an infinitely recursive array to test how it is re-ordered
9 echo "*** Testing natcasesort() : usage variations ***\n";
15 var_dump(@natcasesort($array));
21 *** Testing natcasesort() : usage variations ***
H A Dnatcasesort_variation5.phpt2 Test natcasesort() function : usage variations - different hex values
6 * Pass an array of different hex values to test how natcasesort() re-orders it
9 echo "*** Testing natcasesort() : usage variation ***\n";
12 var_dump( natcasesort($unsorted_hex_array) );
18 *** Testing natcasesort() : usage variation ***
H A Dnatcasesort_object1.phpt2 Test natcasesort() function : object functionality - array of objects
6 * Pass natcasesort() an array of objects to test how it re-orders them
9 echo "*** Testing natcasesort() : object functionality ***\n";
38 echo "\n-- Testing natcasesort() by supplying various object arrays --\n";
40 // testing natcasesort() function by supplying string object array
41 var_dump(natcasesort($unsorted_str_obj) );
47 *** Testing natcasesort() : object functionality ***
49 -- Testing natcasesort() by supplying various object arrays --
H A Dnatcasesort_basic.phpt2 Test natcasesort() function : basic functionality
6 * Test basic functionality of natcasesort()
9 echo "*** Testing natcasesort() : basic functionality ***\n";
16 var_dump(natcasesort($array));
22 *** Testing natcasesort() : basic functionality ***
H A Dnatcasesort_object2.phpt2 Test natcasesort() function : object functionality - mixed visibility within objects
6 * Pass natcasesort() an array of objects which have properties of different
10 echo "*** Testing natcasesort() : object functionality ***\n";
41 echo "\n-- Testing natcasesort() by supplying object arrays --\n";
43 // testing natcasesort() function by supplying string object array
45 var_dump(natcasesort($temp_array) );
51 *** Testing natcasesort() : object functionality ***
53 -- Testing natcasesort() by supplying object arrays --
H A Dnatcasesort_variation9.phpt2 Test natcasesort() function : usage variations - mixed array
7 * and escape characters to test how natcasesort() re-orders it
10 echo "*** Testing natcasesort() : usage variation ***\n";
23 var_dump( @natcasesort($mixed_values) );
30 *** Testing natcasesort() : usage variation ***
H A Dnatcasesort_variation4.phpt2 Test natcasesort() function : usage variations - different string types
6 * Pass arrays of string data to see how natcasesort() re-orders the array
9 echo "*** Testing natcasesort() : usage variation ***\n";
20 var_dump( natcasesort($array_arg) );
27 *** Testing natcasesort() : usage variation ***
H A Dbug36975.phpt2 Bug #36975 (natcasesort() causes array_pop() to misbehave)
6 $test = natcasesort($a);
8 echo "natcasesort success!\n";
28 natcasesort success!
H A Dnatcasesort_variation3.phpt2 Test natcasesort() function : usage variations - different numeric types
10 * Pass arrays of numeric data to test how natcasesort re-orders the array
13 echo "*** Testing natcasesort() : usage variation ***\n";
33 var_dump(natcasesort($array_arg));
40 *** Testing natcasesort() : usage variation ***
H A Dnatcasesort_variation2.phpt2 Test natcasesort() function : usage variations - Pass arrays of different data types
7 * Pass arrays of different data types to natcasesort() to test how they are sorted
10 echo "*** Testing natcasesort() : usage variation ***\n";
102 // loop through each element of $inputs to check the behavior of natcasesort()
106 var_dump( natcasesort($input) );
116 *** Testing natcasesort() : usage variation ***
H A Dnatcasesort_variation11.phpt2 Test natcasesort() function : usage variations - Different array keys
6 * Pass arrays where the keys are different data types to test behaviour of natcasesort()
9 echo "*** Testing natcasesort() : usage variations ***\n";
86 // loop through each element of $inputs to check the behavior of natcasesort()
90 var_dump( natcasesort($input) );
98 *** Testing natcasesort() : usage variations ***
H A D004.phpt2 Test natsort and natcasesort
20 natcasesort($data);
/PHP-8.1/ext/spl/tests/
H A DarrayObject_natcasesort_basic1.phpt2 SPL: Test ArrayObject::natcasesort() function : basic functionality
10 echo "*** Testing ArrayObject::natcasesort() : basic functionality ***\n";
14 var_dump($ao1->natcasesort());
17 var_dump($ao2->natcasesort('blah'));
24 *** Testing ArrayObject::natcasesort() : basic functionality ***
41 ArrayObject::natcasesort() expects exactly 0 arguments, 1 given
/PHP-8.1/ext/standard/tests/strings/
H A Dbug47481.phpt2 Bug #47481 (natcasesort() does not sort extended ASCII characters correctly)
6 * Test natcasesort() with extended ASCII characters
14 var_dump(natcasesort($array));
/PHP-8.1/ext/spl/
H A Dspl_array.stub.php52 public function natcasesort(): bool {} function in ArrayObject
174 public function natcasesort(): bool {} function in ArrayIterator
H A Dspl_array_arginfo.h171 ZEND_METHOD(ArrayObject, natcasesort);
208 ZEND_ME(ArrayObject, natcasesort, arginfo_class_ArrayObject_natcasesort, ZEND_ACC_PUBLIC)
238 …ZEND_MALIAS(ArrayObject, natcasesort, natcasesort, arginfo_class_ArrayIterator_natcasesort, ZEND_A…
H A Dspl_array.c1525 SPL_ARRAY_METHOD(ArrayObject, natcasesort, SPL_ARRAY_METHOD_NO_ARG) /* }}} */ in SPL_ARRAY_METHOD()
/PHP-8.1/ext/standard/
H A Dbasic_functions.stub.php92 function natcasesort(array &$array): bool {} function
H A Dbasic_functions_arginfo.h2249 ZEND_FUNCTION(natcasesort);
2876 ZEND_FE(natcasesort, arginfo_natcasesort)
H A Darray.c778 PHP_FUNCTION(natcasesort) in PHP_FUNCTION() argument

Completed in 75 milliseconds