3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php ini_set( 'default_charset', 'UTF-8' ); mb_internal_encoding("ISO-8859-1"); var_dump(preg_replace( '/\s/', '', "\xc2\xa0" )); var_dump(setlocale(LC_CTYPE, "en_US.ISO-8859-1");); echo shell_exec("locale -a");
based on kUTUF
Output for 7.0.0 - 7.0.1
Parse error: syntax error, unexpected ';', expecting ',' or ')' in /in/4FcOD on line 6
Process exited with code 255.
Output for 5.3.20 - 5.6.16
Parse error: syntax error, unexpected ';' in /in/4FcOD on line 6
Process exited with code 255.