3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function dangerous() { echo 'Dangerous code executed'; ) preg_replace('/(.+)/e', '$1', 'dangerous()');
Output for 5.3.0 - 5.4.26
Parse error: syntax error, unexpected ')' in /in/Nq1jQ on line 6
Process exited with code 255.