3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php class test { public function __destruct() { unset ($this); } } $var = new test(); unset($var);
based on RWLo4
Output for 7.1.0 - 7.2.0
Fatal error: Cannot unset $this in /in/I1R4F on line 6
Process exited with code 255.
Output for 5.3.22 - 7.0.20