3v4l.org

run code in 300+ PHP versions simultaneously
<?php $testString = "http://beta.homespotter.com/signature?utm_something=fridayTest3"; $utmName; if (preg_match("/'?utm_'(.+)'='/", $testString, $matches)) { echo "Match was found <br />"; echo $matches[0]; } ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 7, Position 2 = 10
Branch analysis from position: 7
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 10
filename:       /in/Oij15
function name:  (null)
number of ops:  11
compiled vars:  !0 = $testString, !1 = $utmName, !2 = $matches
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'http%3A%2F%2Fbeta.homespotter.com%2Fsignature%3Futm_something%3DfridayTest3'
    4     1        INIT_FCALL                                               'preg_match'
          2        SEND_VAL                                                 '%2F%27%3Futm_%27%28.%2B%29%27%3D%27%2F'
          3        SEND_VAR                                                 !0
          4        SEND_REF                                                 !2
          5        DO_ICALL                                         $4      
          6      > JMPZ                                                     $4, ->10
    5     7    >   ECHO                                                     'Match+was+found+%3Cbr+%2F%3E'
    6     8        FETCH_DIM_R                                      ~5      !2, 0
          9        ECHO                                                     ~5
    8    10    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
169.98 ms | 1394 KiB | 15 Q