3v4l.org

run code in 300+ PHP versions simultaneously
<?php $stack = array(1 => "orange",2 => "banana"); $stack2 = array(1 => "apple", 3 => "raspberry"); $ST = array_merge($stack, $stack2); print_r($ST);

preferences:
44.03 ms | 402 KiB | 5 Q