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= "/'$sn'(.*?)\The job is for/s"; //print $regx; //$matches = array(); $t = preg_match($regx, $text, $matches); print_r($matches[0]);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/bktJ8
function name:  (null)
number of ops:  17
compiled vars:  !0 = $text, !1 = $sn, !2 = $regx, !3 = $t, !4 = $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.'
    9     1        ASSIGN                                                   !1, '01923033'
   11     2        ROPE_INIT                                     3  ~8      '%2F%27'
          3        ROPE_ADD                                      1  ~8      ~8, !1
          4        ROPE_END                                      2  ~7      ~8, '%27%28.%2A%3F%29%5CThe+job+is+for%2Fs'
          5        ASSIGN                                                   !2, ~7
   14     6        INIT_FCALL                                               'preg_match'
          7        SEND_VAR                                                 !2
          8        SEND_VAR                                                 !0
          9        SEND_REF                                                 !4
         10        DO_ICALL                                         $11     
         11        ASSIGN                                                   !3, $11
   15    12        INIT_FCALL                                               'print_r'
         13        FETCH_DIM_R                                      ~13     !4, 0
         14        SEND_VAL                                                 ~13
         15        DO_ICALL                                                 
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.76 ms | 1386 KiB | 17 Q