3v4l.org

run code in 300+ PHP versions simultaneously
<?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); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/g37sl
function name:  (null)
number of ops:  15
compiled vars:  !0 = $string, !1 = $pattern, !2 = $i, !3 = $am
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '13.0+JJansen+2%2F6+09%3A17+0%2B00%3A01%3A28+I+0+1953.1+Test.bat+'
    4     1        ASSIGN                                                   !1, '%23%28%5Cd%2B.%5Cd%29%5Cs%2B%28%5B%5E+%5D%2B%29%5Cs%2B%28%5Cd%2B%2F%5Cd%2B+%5Cd%5Cd%3A%5Cd%5Cd%29%5Cs%2B%28%5B%5E+%5D%2B%29%5Cs%2B%28%5Cw%29%5Cs%2B%28%5Cw%29%5Cs%2B%5Cs%2B%28%5B-0-9.%5D%29%5Cs%2B%28%5B%5E+%5D%2B%29%23'
    5     2        INIT_FCALL                                               'preg_match'
          3        SEND_VAR                                                 !1
          4        SEND_VAR                                                 !0
          5        SEND_REF                                                 !3
          6        DO_ICALL                                         $6      
          7        ASSIGN                                                   !2, $6
    7     8        INIT_FCALL                                               'print_r'
          9        SEND_VAR                                                 !2
         10        DO_ICALL                                                 
    8    11        INIT_FCALL                                               'print_r'
         12        SEND_VAR                                                 !3
         13        DO_ICALL                                                 
    9    14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
166.59 ms | 1394 KiB | 17 Q