3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = ['x' => 5]; $b = ['y' => 7]; print_r($a + $b); $a = [1,2]; $b = [3,4]; print_r($a + $b);

preferences:
58.61 ms | 404 KiB | 5 Q