3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr0 = new ArrayObject(['a' => 'A']); $arr1 = new ArrayObject(['x' => 'X']); var_export($arr0 + $arr1);

preferences:
23.36 ms | 404 KiB | 5 Q