3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(preg_split("/[\s,]+/", "hypertext language, programming", 0)); var_dump(preg_split("/[\s,]+/", "hypertext language, programming", null));
based on co1OV
Output for 5.5.0 - 7.2.6
array(3) { [0]=> string(9) "hypertext" [1]=> string(8) "language" [2]=> string(11) "programming" } array(3) { [0]=> string(9) "hypertext" [1]=> string(8) "language" [2]=> string(11) "programming" }