3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.5 ms | 1394 KiB | 15 Q