3v4l.org

run code in 300+ PHP versions simultaneously
<?php $roundFruits = ['apple', 'orange', 'tomato']; $berries = ['strawberry', 'blueberry', 'cherry']; $mixedFruits = $roundFruits + $berries; print_r($mixedFruits);

preferences:
24.26 ms | 404 KiB | 5 Q