3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = array('red', 'orange'); $b = array('yellow', 'green', 'blue'); $both = $a + $b; var_dump($both);

preferences:
37.33 ms | 402 KiB | 5 Q