3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = array('a','b'); $b = array('c','d'); $c = array_merge($a,$b); echo $c; $d = array(0=>'e',1=>'f'); $c = array_merge($c,$d); echo $c;
based on aVREL
Output for 5.4.0 - 7.2.0
Notice: Array to string conversion in /in/B7ivk on line 5 Array Notice: Array to string conversion in /in/B7ivk on line 8 Array
Output for 4.3.0 - 5.3.29
ArrayArray