3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $b = 0; while($b< 3) { $inv_items.$b = array(); $inv_items["position"] = $b; $b++; } ?>
based on ugjhW
Output for 5.4.0 - 7.1.0
Notice: Undefined variable: inv_items in /in/LRWZa on line 5 Notice: Array to string conversion in /in/LRWZa on line 5
Output for 5.0.4 - 5.3.29
Notice: Undefined variable: inv_items in /in/LRWZa on line 5
Output for 4.3.0 - 5.0.3
Notice: Undefined variable: inv_items in /in/LRWZa on line 5