3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = ''; $a[0] = 'a'; $a[1] = 'b'; $a[2] = 'c'; echo $a;
Output for 7.1.0
abc
Output for 5.4.0 - 7.0.14
Notice: Array to string conversion in /in/e4V6m on line 8 Array
Output for 4.3.0 - 5.3.29
Array