3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php error_reporting(E_ALL); class Foo {}; $f = new Foo; $f->prop="hi"; print_r($f); ?>
based on 0gDdV
Output for 5.0.0 - 7.1.0
Foo Object ( [prop] => hi )
Output for 4.3.0 - 4.4.9
foo Object ( [prop] => hi )