3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $string = '13.0 JJansen 2/6 09:17 0+00:01:28 I 0 1953.1 Test.bat '; $pattern = '#(\d+.\d)\s+([^ ]+)\s+(\d+/\d+ \d\d:\d\d)\s+([^ ]+)\s+(\w)\s+(\w)\s+\s+([-0-9.])\s+([^ ]+)#'; $i = preg_match($pattern, $string, $am); print_r($i); print_r($am); ?>
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
0Array ( )