3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $foo->bar++;
Output for 5.5.0 - 7.1.0
Notice: Undefined variable: foo in /in/LqHiT on line 2 Warning: Creating default object from empty value in /in/LqHiT on line 2 Notice: Undefined property: stdClass::$bar in /in/LqHiT on line 2
Output for 5.4.0 - 5.4.45
Notice: Undefined variable: foo in /in/LqHiT on line 2 Warning: Creating default object from empty value in /in/LqHiT on line 2
Output for 5.1.0 - 5.3.29
Strict Standards: Creating default object from empty value in /in/LqHiT on line 2
Output for 5.0.4 - 5.0.5
Notice: Undefined variable: foo in /in/LqHiT on line 2 Strict Standards: Creating default object from empty value in /in/LqHiT on line 2
Output for 5.0.0 - 5.0.3
Notice: Undefined variable: foo in /in/LqHiT on line 2 Strict Standards: Creating default object from empty value in /in/LqHiT on line 2
Output for 4.3.0 - 4.4.9
Notice: Undefined variable: foo in /in/LqHiT on line 2 Notice: Undefined property: bar in /in/LqHiT on line 2