3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php <?php header('Content-Type: text/plain'); class foo { public function method() { $code = 'var_dump(isset($this));'; $evUl = function()use($code){ eval($code); }; $evUl = $evUl->bindTo(null); $evUl(); } } $foo = new foo(); $foo->method();
Output for 5.3.0 - 5.4.16
Parse error: syntax error, unexpected '<' in /in/9ZmbS on line 2
Process exited with code 255.