Lines Matching refs:uasort
2 Test uasort() function : object functionality - sort diff. objects
5 /* Prototype : bool uasort(array $array_arg, string $cmp_function)
11 * This testcase tests uasort() functionality with different objects
19 echo "*** Testing uasort() : object functionality ***\n";
86 // Testing uasort with StaticClass objects as elements of 'array_arg'
87 echo "-- Testing uasort() with StaticClass objects --\n";
94 var_dump( uasort($array_arg, 'cmp_function') );
97 // Testing uasort with EmptyClass objects as elements of 'array_arg'
98 echo "-- Testing uasort() with EmptyClass objects --\n";
105 var_dump( uasort($array_arg, 'cmp_function') );
108 // Testing uasort with ChildClass objects as elements of 'array_arg'
109 echo "-- Testing uasort() with ChildClass objects --\n";
116 var_dump( uasort($array_arg, 'cmp_function') );
122 *** Testing uasort() : object functionality ***
123 -- Testing uasort() with StaticClass objects --
139 -- Testing uasort() with EmptyClass objects --
155 -- Testing uasort() with ChildClass objects --