3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php class Foo { } $x = new Foo; echo $v->baz;
Output for 7.2.0 - 7.3.0beta1
Notice: Undefined variable: v in /in/WIRsn on line 10 Notice: Trying to get property 'baz' of non-object in /in/WIRsn on line 10
Output for 5.5.0 - 7.1.20
Notice: Undefined variable: v in /in/WIRsn on line 10 Notice: Trying to get property of non-object in /in/WIRsn on line 10