3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $result = @create_function('', 'return (return 1);'); var_dump($result);
based on nm4t9
Output for 7.0.0 - 7.2.0
Parse error: syntax error, unexpected 'return' (T_RETURN) in /in/vAv9H(3) : runtime-created function on line 1
Process exited with code 255.
Output for 5.3.19 - 5.6.28
bool(false)
Process exited with code 255.