3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(preg_match("#\x{00a0}#siu", ' ', "asdsad sd");
based on 1osbV
Output for 7.0.0 - 7.0.1
Parse error: syntax error, unexpected ';', expecting ',' or ')' in /in/u3j703 on line 3
Process exited with code 255.
Output for 5.3.20 - 5.6.16
Fatal error: Only variables can be passed by reference in /in/u3j703 on line 3
Process exited with code 255.