3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { public $bar = 'baz'; function destroy() { unset($this); } function hello() { echo 'world'; } } $foo = new Foo(); $foo->destroy(); echo $foo->bar; $foo->hello();

This is an error 404

There are `0` results


preferences:
140.12 ms | 1399 KiB | 7 Q