3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(preg_split('/\s+/', 'xx dsdsds s'));
Output for 5.2.14 - 7.1.0
array(3) { [0]=> string(2) "xx" [1]=> string(6) "dsdsds" [2]=> string(1) "s" }