3v4l.org

run code in 300+ PHP versions simultaneously
<?php $s = '@vset:postcode_finder_limit:5'; if (preg_match('/^[^:]*:([^:]*)/', $s, $matches)) { echo $matches[1]; } else { echo "Not found!"; }
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 = 42) Position 1 = 11
Branch analysis from position: 11
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 10
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/HlmPX
function name:  (null)
number of ops:  12
compiled vars:  !0 = $s, !1 = $matches
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%40vset%3Apostcode_finder_limit%3A5'
    5     1        INIT_FCALL                                               'preg_match'
          2        SEND_VAL                                                 '%2F%5E%5B%5E%3A%5D%2A%3A%28%5B%5E%3A%5D%2A%29%2F'
          3        SEND_VAR                                                 !0
          4        SEND_REF                                                 !1
          5        DO_ICALL                                         $3      
          6      > JMPZ                                                     $3, ->10
    6     7    >   FETCH_DIM_R                                      ~4      !1, 1
          8        ECHO                                                     ~4
          9      > JMP                                                      ->11
    9    10    >   ECHO                                                     'Not+found%21'
   10    11    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.42 ms | 1394 KiB | 15 Q