Lines Matching refs:strnatcmp
2 Test strnatcmp() function : basic functionality
5 echo "*** Testing strnatcmp() : basic functionality ***\n";
18 var_dump(strnatcmp($a1, $b1));
19 var_dump(strnatcmp($a1, $c1));
20 var_dump(strnatcmp($a1, $d1));
21 var_dump(strnatcmp($b1, $c1));
22 var_dump(strnatcmp($d1, $c1));
24 var_dump(strnatcmp($a1, $b2));
25 var_dump(strnatcmp($a1, $c2));
26 var_dump(strnatcmp($a1, $d2));
27 var_dump(strnatcmp($b1, $c2));
28 var_dump(strnatcmp($d1, $c2));
32 var_dump(strnatcmp($b1, $b1));
33 var_dump(strnatcmp($b1, $b2));
36 var_dump(strnatcmp($b1, $a1));
37 var_dump(strnatcmp($c1, $a1));
38 var_dump(strnatcmp($d1, $a1));
39 var_dump(strnatcmp($c1, $b1));
40 var_dump(strnatcmp($c1, $d1));
42 var_dump(strnatcmp($b1, $a2));
43 var_dump(strnatcmp($c1, $a2));
44 var_dump(strnatcmp($d1, $a2));
45 var_dump(strnatcmp($c1, $b2));
46 var_dump(strnatcmp($c1, $d2));
49 *** Testing strnatcmp() : basic functionality ***