3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo setlocale(LC_ALL, "0"); echo \Locale::getDefault();
Output for 5.5.17, 5.6.0 - 5.6.38, 7.0.0 - 7.2.11
Cen_US_POSIX
Output for hhvm-3.10.1 - 3.11.1, hhvm-3.13.2 - 3.22.0
en_US_POSIX
Output for hhvm-3.12.14

Process exited with code 137.
Output for 5.3.0 - 5.5.16, 5.5.18 - 5.5.38
C Fatal error: Class 'Locale' not found in /in/QGsZg on line 3
Process exited with code 255.
Output for 5.0.0 - 5.2.17
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/QGsZg on line 3 C Fatal error: Class 'Locale' not found in /in/QGsZg on line 3
Process exited with code 255.
Output for 4.3.2 - 4.4.9
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/QGsZg on line 3 C Fatal error: Undefined class name 'locale' in /in/QGsZg on line 3
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/QGsZg on line 3 C Fatal error: Undefined class name 'locale' in /in/QGsZg on line 3