3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $str[0] = "a"; $str[1] = "b"; echo $str;
Output for 5.4.20 - 7.1.0
Notice: Array to string conversion in /in/RPNbZ on line 5 Array
Output for 5.4.0 - 5.4.19
Notice: Array to string conversion in /in/IUeS6 on line 5 Array
Output for 4.3.0 - 5.3.29
Array