3v4l.org

run code in 300+ PHP versions simultaneously
<?php $re = '/^(\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\+\d{2}:\d{2})\h+([A-Z]+)\h+(.*(?:\R(?!(?1)).*)*)/m'; $str = '2021-12-08T18:18:38+00:00 INFO Produktbestand erfolgreich von Collmex abgerufen | "STOCK_AVAILABLE;23;1;363;PCE;-1 MESSAGE;S;204020;Daten?bertragung erfolgreich. Es wurden 1 Datens?tze verarbeitet. " 2021-12-08T18:18:38+00:00 INFO Produktbestand erfolgreich von Collmex abgerufen | "STOCK_AVAILABLE;23;1;363;PCE;-1 MESSAGE;S;204020;Daten?bertragung erfolgreich. Es wurden 1 Datens?tze verarbeitet. "'; preg_match_all($re, $str, $matches, PREG_SET_ORDER, 0); foreach ($matches as $match) { print_r($match); }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 10, Position 2 = 15
Branch analysis from position: 10
2 jumps found. (Code = 78) Position 1 = 11, Position 2 = 15
Branch analysis from position: 11
1 jumps found. (Code = 42) Position 1 = 10
Branch analysis from position: 10
Branch analysis from position: 15
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 15
filename:       /in/aSQhI
function name:  (null)
number of ops:  17
compiled vars:  !0 = $re, !1 = $str, !2 = $matches, !3 = $match
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%2F%5E%28%5Cd%7B4%7D-%5Cd%7B2%7D-%5Cd%7B2%7DT%5Cd%7B2%7D%3A%5Cd%7B2%7D%3A%5Cd%7B2%7D%5C%2B%5Cd%7B2%7D%3A%5Cd%7B2%7D%29%5Ch%2B%28%5BA-Z%5D%2B%29%5Ch%2B%28.%2A%28%3F%3A%5CR%28%3F%21%28%3F1%29%29.%2A%29%2A%29%2Fm'
    4     1        ASSIGN                                                   !1, '2021-12-08T18%3A18%3A38%2B00%3A00+INFO+Produktbestand+erfolgreich+von+Collmex+abgerufen+%7C+%22STOCK_AVAILABLE%3B23%3B1%3B363%3BPCE%3B-1%0AMESSAGE%3BS%3B204020%3BDaten%3Fbertragung+erfolgreich.+Es+wurden+1+Datens%3Ftze+verarbeitet.%0A%22%0A2021-12-08T18%3A18%3A38%2B00%3A00+INFO+Produktbestand+erfolgreich+von+Collmex+abgerufen+%7C+%22STOCK_AVAILABLE%3B23%3B1%3B363%3BPCE%3B-1%0AMESSAGE%3BS%3B204020%3BDaten%3Fbertragung+erfolgreich.+Es+wurden+1+Datens%3Ftze+verarbeitet.%0A%22'
   11     2        INIT_FCALL                                               'preg_match_all'
          3        SEND_VAR                                                 !0
          4        SEND_VAR                                                 !1
          5        SEND_REF                                                 !2
          6        SEND_VAL                                                 2
          7        SEND_VAL                                                 0
          8        DO_ICALL                                                 
   13     9      > FE_RESET_R                                       $7      !2, ->15
         10    > > FE_FETCH_R                                               $7, !3, ->15
   14    11    >   INIT_FCALL                                               'print_r'
         12        SEND_VAR                                                 !3
         13        DO_ICALL                                                 
   13    14      > JMP                                                      ->10
         15    >   FE_FREE                                                  $7
   15    16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.61 ms | 1011 KiB | 15 Q