3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = 'zxczx, yasdgaus'; print_r(preg_split("/[\s,]+/", $a));
based on vTehk
Output for 5.3.22 - 7.3.0rc4
Array ( [0] => zxczx [1] => yasdgaus )