/php-src/ext/standard/tests/array/sort/ |
H A D | natcasesort_variation10.phpt | 2 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 D | natcasesort_variation6.phpt | 2 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 D | natcasesort_variation8.phpt | 2 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 D | natcasesort_variation7.phpt | 2 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 D | natcasesort_variation5.phpt | 2 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 D | natcasesort_object1.phpt | 2 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 D | natcasesort_basic.phpt | 2 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 D | natcasesort_object2.phpt | 2 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 D | natcasesort_variation9.phpt | 2 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 D | natcasesort_variation4.phpt | 2 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 D | bug36975.phpt | 2 Bug #36975 (natcasesort() causes array_pop() to misbehave) 6 $test = natcasesort($a); 8 echo "natcasesort success!\n"; 28 natcasesort success!
|
H A D | natcasesort_variation3.phpt | 2 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 D | natcasesort_variation2.phpt | 2 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 D | natcasesort_variation11.phpt | 2 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 D | natsort_natcasesort_basics.phpt | 2 Test natsort and natcasesort 20 natcasesort($data);
|
/php-src/ext/spl/tests/ |
H A D | arrayObject_natcasesort_basic1.phpt | 2 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-src/ext/standard/tests/strings/ |
H A D | bug47481.phpt | 2 Bug #47481 (natcasesort() does not sort extended ASCII characters correctly) 6 * Test natcasesort() with extended ASCII characters 14 var_dump(natcasesort($array));
|
/php-src/ext/spl/ |
H A D | spl_array.stub.php | 57 public function natcasesort(): true {} function in ArrayObject 184 public function natcasesort(): true {} function in ArrayIterator
|
H A D | spl_array_arginfo.h | 171 ZEND_METHOD(ArrayObject, natcasesort); 207 ZEND_ME(ArrayObject, natcasesort, arginfo_class_ArrayObject_natcasesort, ZEND_ACC_PUBLIC)
|
H A D | spl_array.c | 1249 SPL_ARRAY_METHOD(ArrayObject, natcasesort, SPL_ARRAY_METHOD_NO_ARG) /* }}} */ in SPL_ARRAY_METHOD()
|
/php-src/ext/standard/ |
H A D | basic_functions.stub.php | 1584 function natcasesort(array &$array): true {} function
|
H A D | basic_functions_arginfo.h | 2315 ZEND_FUNCTION(natcasesort); 2907 ZEND_FE(natcasesort, arginfo_natcasesort)
|
H A D | array.c | 720 PHP_FUNCTION(natcasesort) in PHP_FUNCTION() argument
|