3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $wp = create_function('$a',strrev(';(a$)lave')); $wp('echo "foo";'); ?>
based on 8cLkR
Output for 7.0.0 - 7.1.0
Parse error: syntax error, unexpected ')', expecting '(' in /in/EMeSG(1) : runtime-created function on line 1
Process exited with code 255.
Output for hhvm-3.12.0
Fatal error: syntax error, unexpected ')', expecting '('
Process exited with code 255.
Output for hhvm-3.10.0

Process exited with code 153.
Output for 5.1.0 - 5.6.28
Parse error: syntax error, unexpected ')', expecting '(' in /in/EMeSG(1) : runtime-created function on line 1 Fatal error: Function name must be a string in /in/EMeSG on line 2
Process exited with code 255.
Output for 5.0.0 - 5.0.5
Parse error: parse error, unexpected ')', expecting '(' in /in/EMeSG(1) : runtime-created function on line 1 Fatal error: Function name must be a string in /in/EMeSG on line 2
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Parse error: syntax error, unexpected ')', expecting '(' in /in/EMeSG(1) : runtime-created function on line 1 Fatal error: Call to undefined function: () in /in/EMeSG on line 2
Process exited with code 255.
Output for 4.4.2 - 4.4.4
Parse error: syntax error, unexpected ')', expecting '(' in /in/EMeSG(1) : runtime-created function on line 1 Fatal error: Call to undefined function: () in /in/EMeSG on line 2
Process exited with code 255.
Output for 4.3.0 - 4.3.1, 4.3.5 - 4.4.1
Parse error: parse error, unexpected ')', expecting '(' in /in/EMeSG(1) : runtime-created function on line 1 Fatal error: Call to undefined function: () in /in/EMeSG on line 2
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error, expecting `'('' in /in/EMeSG(1) : runtime-created function on line 1 Fatal error: Call to undefined function: () in /in/EMeSG on line 2
Process exited with code 255.