3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a+=5; $b=new stdClass; $b->a +=5;
Output for 5.5.0 - 7.1.0
Notice: Undefined variable: a in /in/FvCe3 on line 3 Notice: Undefined property: stdClass::$a in /in/FvCe3 on line 5
Output for 5.0.4 - 5.4.45
Notice: Undefined variable: a in /in/FvCe3 on line 3
Output for 5.0.0 - 5.0.3
Notice: Undefined variable: a in /in/FvCe3 on line 3
Output for 4.3.0 - 4.4.9
Notice: Undefined variable: a in /in/FvCe3 on line 3 Notice: Undefined property: a in /in/FvCe3 on line 5