3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $row = '"field1" "tom" "david" "ronald"'; $row = preg_split('/"\s*"?/', $row); print_r($row);
Output for 4.3.0 - 7.1.0
Array ( [0] => [1] => field1 [2] => tom [3] => david [4] => ronald [5] => )