3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $row = new stdClass(); $row->a = null; $item = array('a' => 'b'); $row->$item['a']; echo $row->a;
based on kRm5o
Output for 7.0.0 - 7.2.0
Notice: Array to string conversion in /in/WIPEv on line 7 Notice: Undefined property: stdClass::$Array in /in/WIPEv on line 7
Output for 5.3.22 - 5.6.28
Notice: Undefined property: stdClass::$b in /in/WIPEv on line 7