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); ?>
Output for 5.4.0 - 5.4.25
Parse error: syntax error, unexpected '$i' (T_VARIABLE) in /in/kcqP9 on line 5
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected T_VARIABLE in /in/kcqP9 on line 5
Process exited with code 255.