3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php error_reporting(E_STRICT | E_ALL); class Foo {}; $f = new Foo; $f->prop="hi"; print_r($f); ?>
Output for 5.0.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
Foo Object ( [prop] => hi )
Output for 4.3.0 - 4.4.9
Notice: Use of undefined constant E_STRICT - assumed 'E_STRICT' in /in/0gDdV on line 2 foo Object ( [prop] => hi )