3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $myArray = [ ["Ted", "Teddy"], ["Theo", "Theodore"], ]; $reduced = array_reduce($myArray, "array_merge", []); echo $reduced;
Output for 5.6.0 - 7.3.0rc4
Notice: Array to string conversion in /in/rQ69m on line 11 Array