3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php eval("$\x00 = ':D'; echo $\x00;");
Output for 7.0.0 - 7.1.0
Warning: Unexpected character in input: ' in /in/sguDh(3) : eval()'d code on line 1 Parse error: syntax error, unexpected '=', expecting variable (T_VARIABLE) or '{' or '$' in /in/sguDh(3) : eval()'d code on line 1
Process exited with code 255.
Output for hhvm-3.10.0 - 3.12.0
Fatal error: Unexpected character in input: ' (Line: 1, Char: 9) syntax error, unexpected '=', expecting T_VARIABLE or '$' in /in/sguDh(3)(9d1379aae9b19d2a11e93ba2d01661d8) : eval()'d code on line 1
Output for 5.4.11 - 5.6.28
Warning: Unexpected character in input: ' in /in/sguDh(3) : eval()'d code on line 1 Parse error: syntax error, unexpected '=', expecting variable (T_VARIABLE) or '$' in /in/sguDh(3) : eval()'d code on line 1
Output for 5.4.0 - 5.4.10
Warning: Unexpected character in input: ' in /in/sguDh(3) : eval()'d code on line 1 Parse error: syntax error, unexpected '=', expecting variable (T_VARIABLE) or '$' in /in/sguDh(3) : eval()'d code on line 1
Process exited with code 255.
Output for 5.3.0 - 5.3.29
Warning: Unexpected character in input: ' in /in/sguDh(3) : eval()'d code on line 1 Parse error: syntax error, unexpected '=', expecting T_VARIABLE or '$' in /in/sguDh(3) : eval()'d code on line 1
Process exited with code 255.