3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php //$str = "a b,c. d'e fg \"hi\""; $str = "3 Prernatirth Derasar Rd Jodhpur Village Ahmedabad Gujarat 380054 India"; $value_arr = preg_split("/[\, .\'\"]+/", $str); print_r($value_arr);
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
Array ( [0] => 3 [1] => Prernatirth [2] => Derasar [3] => Rd [4] => Jodhpur [5] => Village [6] => Ahmedabad [7] => Gujarat [8] => 380054 [9] => India )