3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?phpclass Testing{ function __construct() { unset($this); } function write($str) { echo $str; }}$a = new Testing;$a->write("working");
Output for hhvm-3.10.0

Process exited with code 153.
Output for 5.4.34
Parse error: syntax error, unexpected 'Testing' (T_STRING) in /in/C6e7M on line 1
Process exited with code 255.
Output for 5.4.0 - 5.4.32
<?phpclass Testing{ function __construct() { unset($this); } function write($str) { echo $str; }}$a = new Testing;$a->write("working");