3v4l.org

run code in 300+ PHP versions simultaneously
<?php $test = array(); $test = array ("testing"); $str = 'a,b,c,d'; $parts = explode(',', $str); $test = array_merge($test, $parts); print_r($test);

preferences:
43.41 ms | 402 KiB | 5 Q