3v4l.org

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