3v4l.org

run code in 300+ PHP versions simultaneously
<?php $line = "07-28-14 21:59:58_gateway:Sybase, gatewayID:1048, mobile:447973223963, referenceID:1912081231, status:Message 1 of the order 1912081231 at destination of 447973223963 has been received at 22:59:55 (CET) on the 28-07-2014., statusParsed:delivered, statusCode:, sendDate:28-07-2014, sendTime:22:59:55"; preg_match("/_gateway:(.*),/", $line, $matches); echo $matches[1];
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/vRfWo
function name:  (null)
number of ops:  9
compiled vars:  !0 = $line, !1 = $matches
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '07-28-14+21%3A59%3A58_gateway%3ASybase%2C+gatewayID%3A1048%2C+mobile%3A447973223963%2C+referenceID%3A1912081231%2C+status%3AMessage+1+of+the+order+1912081231+at+destination+of++447973223963+has+been+received+at+22%3A59%3A55+%28CET%29+on+the+28-07-2014.%2C+statusParsed%3Adelivered%2C+statusCode%3A%2C+sendDate%3A28-07-2014%2C+sendTime%3A22%3A59%3A55'
    5     1        INIT_FCALL                                               'preg_match'
          2        SEND_VAL                                                 '%2F_gateway%3A%28.%2A%29%2C%2F'
          3        SEND_VAR                                                 !0
          4        SEND_REF                                                 !1
          5        DO_ICALL                                                 
    7     6        FETCH_DIM_R                                      ~4      !1, 1
          7        ECHO                                                     ~4
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.59 ms | 1394 KiB | 15 Q