3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $labels_array=array("Element 1","Element 2","Element 3","Element 4","Element 5","Element 6"); echo implode("\n",array_chunk($labels_array,1));
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
Notice: Array to string conversion in /in/uM3Df on line 3 Notice: Array to string conversion in /in/uM3Df on line 3 Notice: Array to string conversion in /in/uM3Df on line 3 Notice: Array to string conversion in /in/uM3Df on line 3 Notice: Array to string conversion in /in/uM3Df on line 3 Notice: Array to string conversion in /in/uM3Df on line 3 Array Array Array Array Array Array