3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $data = new stdClass(); $data->hello = 'world'; $hello = $data->hello; $foo = $data->foo; echo $hello; echo $foo;
Output for 5.3.25, 5.3.27 - 5.3.29, 5.4.18 - 5.6.28, hhvm-3.12.0, 7.0.0 - 7.1.0
Notice: Undefined property: stdClass::$foo in /in/iSUer on line 8 world
Output for hhvm-3.10.0

Process exited with code 153.
Output for 5.2.6 - 5.3.24, 5.3.26, 5.4.0 - 5.4.17
Notice: Undefined property: stdClass::$foo in /in/CSV6p on line 8 world
Output for 5.0.0 - 5.2.5
Notice: Undefined property: stdClass::$foo in /in/CSV6p on line 8 world
Output for 4.3.1 - 4.4.9
Notice: Undefined property: foo in /in/CSV6p on line 8 world
Output for 4.3.0
Notice: Undefined property: foo in /in/iSUer on line 8 world