3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $test = array(); $test = array ("testing"); $str = 'a,b,c,d'; $parts = explode(',', $str); $test = array_merge($test, $parts); print_r($test);
Output for 4.3.0 - 7.2.0
Array ( [0] => testing [1] => a [2] => b [3] => c [4] => d )