3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php //$str = "a b,c. d'e fg \"hi\""; $str = "3 Prer\"na\"tirth 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.13.2, 7.0.0 - 7.1.0
Array ( [0] => 3 [1] => Prer [2] => na [3] => tirth [4] => Derasar [5] => Rd [6] => Jodhpur [7] => Village [8] => Ahmedabad [9] => Gujarat [10] => 380054 [11] => India )