3v4l.org

run code in 300+ PHP versions simultaneously
<?php $text = "You have been assigned to the job #3 Megastar 4(01923033) OSD jackpot needs adjusting. The job is for Icon's Stadium Bar - GMV1028. The job machines are - 01980414 , - 01923033 , - 07993682 This job has a priority of Non-Critical Fault / Medium. The job is scheduled for Monday, 14 July, 2014 at 02:29 PM."; //$sn ='01923033'; $regx= "/01923033(.*?)\The job is for/s"; //print $regx; //print " test "; //$matches = array(); $t = preg_match($regx, $text, $matches); print_r($matches[1]);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/W5MkF
function name:  (null)
number of ops:  13
compiled vars:  !0 = $text, !1 = $regx, !2 = $t, !3 = $matches
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'You+have+been+assigned+to+the+job+%233+Megastar+4%2801923033%29+%0AOSD+jackpot+needs+adjusting.+%0AThe+job+is+for+Icon%27s+Stadium+Bar+-+GMV1028.+%0AThe+job+machines+are+-+01980414+%2C+-+01923033+%2C+-+07993682+%0AThis+job+has+a+priority+of+Non-Critical+Fault+%2F+Medium.+%0AThe+job+is+scheduled+for+Monday%2C+14+July%2C+2014+at+02%3A29+PM.'
   10     1        ASSIGN                                                   !1, '%2F01923033%28.%2A%3F%29%5CThe+job+is+for%2Fs'
   15     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
   16     8        INIT_FCALL                                               'print_r'
          9        FETCH_DIM_R                                      ~8      !3, 1
         10        SEND_VAL                                                 ~8
         11        DO_ICALL                                                 
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.54 ms | 1386 KiB | 17 Q