3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php try { eval($octal . " = 01c;"); } catch (ParseError $e) { echo "Mess: ",$e->getMessage(); }
based on mrUWO
Output for 7.0.0 - 7.2.0
Notice: Undefined variable: octal in /in/7qQ4Z on line 5 Mess: syntax error, unexpected '=', expecting end of file
Output for 5.4.11 - 5.4.14, 5.4.16 - 5.6.28
Notice: Undefined variable: octal in /in/7qQ4Z on line 5 Parse error: syntax error, unexpected '=' in /in/7qQ4Z(5) : eval()'d code on line 1
Output for 5.4.15

Process exited with code 137.
Output for 5.3.19 - 5.4.10
Notice: Undefined variable: octal in /in/7qQ4Z on line 5 Parse error: syntax error, unexpected '=' in /in/7qQ4Z(5) : eval()'d code on line 1
Process exited with code 255.