3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $x = '//www.example.com/path?googleguy=googley' var_dump(parse_url($x)); $y = 'path/to/somewhere?param1=x&param2=http://another.example.com/path/to/another/example/'; var_dump(parse_url($y));
Output for 5.4.0 - 5.4.17
Parse error: syntax error, unexpected 'var_dump' (T_STRING) in /in/eYXg7 on line 5
Process exited with code 255.
Output for 5.3.0 - 5.3.27
Parse error: syntax error, unexpected T_STRING in /in/eYXg7 on line 5
Process exited with code 255.