3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php class Foo { public $bar; } var_dump(new Foo); $foo = new Foo; unset($foo->bar); var_dump($foo);
Output for 5.5.0 - 7.2.0
object(Foo)#1 (1) { ["bar"]=> NULL } object(Foo)#1 (0) { }