3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $ex = '$a'; ob_start('create_function'); echo $ex; ob_get_flush();
based on pBqlr
Output for 7.2.0
$a Deprecated: Function create_function() is deprecated in /in/sVoSS on line 6 Parse error: syntax error, unexpected '}' in /in/sVoSS(6) : runtime-created function on line 1
Process exited with code 255.
Output for 5.3.19 - 7.1.10
$a Parse error: syntax error, unexpected '}' in /in/sVoSS(6) : runtime-created function on line 1
Process exited with code 255.