3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php try { $code = "1+1+++"; $res = @eval("return ($code);"); } catch (ParseError $e) { // throw $e; } echo $res === false;
based on sFWbf
Output for 7.0.0 - 7.3.0rc3
Notice: Undefined variable: res in /in/7XldH on line 10
Output for 5.6.0 - 5.6.30, hhvm-3.15.4
1