The spaceship operator is used for comparing two expressions. It returns -1, 0 or 1 when$ais respectively less than, equal to, or greater than$b. Comparisons are performed accordin...www.php.net
on OSX (10.9.3) and PHP (5.4.24) you need to use full local name including codeset i.e. for German need to use de_DE.UTF-8 even setlocale returns success when used without .UTF-8 t...www.php.net