Searched refs:natcasesort (Results 1 – 25 of 26) sorted by relevance
12
2 Test natcasesort() function : error conditions - Pass incorrect number of args5 /* Prototype : bool natcasesort(array &$array_arg)11 * Pass incorrect number of arguments to natcasesort() to test behaviour14 echo "*** Testing natcasesort() : error conditions ***\n";17 echo "\n-- Testing natcasesort() function with Zero arguments --\n";18 var_dump( natcasesort() );20 // Test natcasesort with one more than the expected number of arguments24 var_dump( natcasesort($array_arg, $extra_arg) );29 *** Testing natcasesort() : error conditions ***31 -- Testing natcasesort() function with Zero arguments --[all …]
2 Test natcasesort() function : usage variations - Pass different data types as $array_arg arg5 /* Prototype : bool natcasesort(array &$array_arg)11 * Pass different data types as $array_arg argument to natcasesort() to test behaviour14 echo "*** Testing natcasesort() : usage variation ***\n";85 // loop through each element of $inputs to check the behavior of natcasesort()89 var_dump( natcasesort($input) );98 *** Testing natcasesort() : usage variation ***147 Warning: natcasesort() expects parameter 1 to be array, null given in %s on line %d152 Warning: natcasesort() expects parameter 1 to be array, null given in %s on line %d210 Warning: natcasesort() expects parameter 1 to be array, null given in %s on line %d[all …]
2 Test natcasesort() function : usage variations - referenced variables5 /* Prototype : bool natcasesort(array &$array_arg)11 * Pass an array of referenced varaibles to test how natcasesort() re-orders it14 echo "*** Testing natcasesort() : usage variation ***\n";22 var_dump( natcasesort($array) );27 var_dump( natcasesort($array) );33 *** Testing natcasesort() : usage variation ***
2 Test natcasesort() function : usage variations - position of internal array pointer5 /* Prototype : bool natcasesort(array &$array_arg)11 * Check position of internal array pointer after calling natcasesort()14 echo "*** Testing natcasesort() : usage variations ***\n";21 echo "\n-- Call natcasesort() --\n";22 var_dump(natcasesort($array_arg));32 *** Testing natcasesort() : usage variations ***37 -- Call natcasesort() --
2 Test natcasesort() function : usage variations - octal values5 /* Prototype : bool natcasesort(array &$array_arg)11 * Pass an array of octal values to test how natcasesort() re-orders it14 echo "*** Testing natcasesort() : usage variation ***\n";18 var_dump( natcasesort($unsorted_oct_array) );24 *** Testing natcasesort() : usage variation ***
2 Test natcasesort() function : object functionality - array of objects5 /* Prototype : bool natcasesort(array &$array_arg)11 * Pass natcasesort() an array of objects to test how it re-orders them14 echo "*** Testing natcasesort() : object functionality ***\n";43 echo "\n-- Testing natcasesort() by supplying various object arrays --\n";45 // testing natcasesort() function by supplying string object array46 var_dump(natcasesort($unsorted_str_obj) );53 *** Testing natcasesort() : object functionality ***55 -- Testing natcasesort() by supplying various object arrays --
2 Test natcasesort() function : usage variations - different hex values5 /* Prototype : bool natcasesort(array &$array_arg)11 * Pass an array of different hex values to test how natcasesort() re-orders it14 echo "*** Testing natcasesort() : usage variation ***\n";17 var_dump( natcasesort($unsorted_hex_array) );23 *** Testing natcasesort() : usage variation ***
2 Test natcasesort() function : basic functionality 5 /* Prototype : bool natcasesort(array &$array_arg)11 * Test basic functionality of natcasesort()14 echo "*** Testing natcasesort() : basic functionality ***\n";21 var_dump(natcasesort($array));27 *** Testing natcasesort() : basic functionality ***
2 Test natcasesort() function : usage variations - recursive arrays5 /* Prototype : bool natcasesort(array &$array_arg)11 * Pass natcasesort() an infinitely recursive array to test how it is re-ordered14 echo "*** Testing natcasesort() : usage variations ***\n";20 var_dump(@natcasesort($array));26 *** Testing natcasesort() : usage variations ***
2 Test natcasesort() function : object functionality - mixed visibility within objects5 /* Prototype : bool natcasesort(array &$array_arg)11 * Pass natcasesort() an array of objects which have properties of different15 echo "*** Testing natcasesort() : object functionality ***\n";46 echo "\n-- Testing natcasesort() by supplying object arrays --\n";48 // testing natcasesort() function by supplying string object array50 var_dump(natcasesort($temp_array) );57 *** Testing natcasesort() : object functionality ***59 -- Testing natcasesort() by supplying object arrays --
2 Test natcasesort() function : usage variations - mixed array5 /* Prototype : bool natcasesort(array &$array_arg)12 * and escape characters to test how natcasesort() re-orders it15 echo "*** Testing natcasesort() : usage variation ***\n";28 var_dump( @natcasesort($mixed_values) );36 *** Testing natcasesort() : usage variation ***
2 Test natcasesort() function : usage variations - different numeric types9 /* Prototype : bool natcasesort(array &$array_arg)15 * Pass arrays of numeric data to test how natcasesort re-orders the array18 echo "*** Testing natcasesort() : usage variation ***\n";38 var_dump(natcasesort($array_arg));46 *** Testing natcasesort() : usage variation ***
2 Test natcasesort() function : usage variations - different string types10 /* Prototype : bool natcasesort(array &$array_arg)16 * Pass arrays of string data to see how natcasesort() re-orders the array19 echo "*** Testing natcasesort() : usage variation ***\n";30 var_dump( natcasesort($array_arg) );37 *** Testing natcasesort() : usage variation ***
2 Bug #36975 (natcasesort() causes array_pop() to misbehave)6 $test = natcasesort($a);8 echo "natcasesort success!\n"; 28 natcasesort success!
2 Test natcasesort() function : usage variations - Pass arrays of different data types6 /* Prototype : bool natcasesort(array &$array_arg)12 * Pass arrays of different data types to natcasesort() to test how they are sorted15 echo "*** Testing natcasesort() : usage variation ***\n";107 // loop through each element of $inputs to check the behavior of natcasesort()111 var_dump( natcasesort($input) );122 *** Testing natcasesort() : usage variation ***
2 Test natcasesort() function : usage variations - Different array keys5 /* Prototype : bool natcasesort(array &$array_arg)11 * Pass arrays where the keys are different data types to test behaviour of natcasesort()14 echo "*** Testing natcasesort() : usage variations ***\n";103 // loop through each element of $inputs to check the behavior of natcasesort()107 var_dump( natcasesort($input) );116 *** Testing natcasesort() : usage variations ***
2 Test natsort and natcasesort20 natcasesort($data);
2 SPL: Test ArrayObject::natcasesort() function : basic functionality 5 /* Prototype : int ArrayObject::natcasesort()6 * Description: proto int ArrayIterator::natcasesort()12 echo "*** Testing ArrayObject::natcasesort() : basic functionality ***\n";16 var_dump($ao1->natcasesort());18 var_dump($ao2->natcasesort('blah'));23 *** Testing ArrayObject::natcasesort() : basic functionality ***
2 Bug #47481 (natcasesort() does not sort extended ASCII characters correctly)5 /* Prototype : bool natcasesort(array &$array_arg)11 * Test natcasesort() with extended ASCII characters19 var_dump(natcasesort($array));
97 natcasesort($interfaces);
669 function natcasesort() {/**/} function in ArrayObject790 function natcasesort() {/**/} function in ArrayIterator
1517 SPL_ARRAY_METHOD(Array, natcasesort, SPL_ARRAY_METHOD_NO_ARG) /* }}} */ in SPL_ARRAY_METHOD()1910 SPL_ME(Array, natcasesort, arginfo_array_void, ZEND_ACC_PUBLIC)1937 SPL_ME(Array, natcasesort, arginfo_array_void, ZEND_ACC_PUBLIC)
33 PHP_FUNCTION(natcasesort);
488 PHP_FUNCTION(natcasesort) in PHP_FUNCTION() argument
3272 PHP_FE(natcasesort, arginfo_natcasesort)
Completed in 105 milliseconds