3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $base = "13.0 JJansen 2/6 09:17 0+00:01:28 I 0 1953.1 Test.bat"; $pattern = "/(\s{1,})/"; $replacement = ""; $new = preg_split($pattern,$base); print_r($new); ?>
Output for 4.3.0 - 7.1.0
Array ( [0] => 13.0 [1] => JJansen [2] => 2/6 [3] => 09:17 [4] => 0+00:01:28 [5] => I [6] => 0 [7] => 1953.1 [8] => Test.bat )