3v4l.org

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