3v4l.org

run code in 300+ PHP versions simultaneously
<?php try { $messageId = unpack('P', base64_decode('wvBfYGV8LU8'))[1]; } catch (\Exception $exp) { $messageId = 'noop'; } print_r($messageId);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 12
Branch analysis from position: 12
1 jumps found. (Code = 62) Position 1 = -2
Found catch point at position: 10
Branch analysis from position: 10
2 jumps found. (Code = 107) Position 1 = 11, Position 2 = -2
Branch analysis from position: 11
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/q5DTN
function name:  (null)
number of ops:  16
compiled vars:  !0 = $messageId, !1 = $exp
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'unpack'
          1        SEND_VAL                                                 'P'
          2        INIT_FCALL                                               'base64_decode'
          3        SEND_VAL                                                 'wvBfYGV8LU8'
          4        DO_ICALL                                         $2      
          5        SEND_VAR                                                 $2
          6        DO_ICALL                                         $3      
          7        FETCH_DIM_R                                      ~4      $3, 1
          8        ASSIGN                                                   !0, ~4
          9      > JMP                                                      ->12
    4    10  E > > CATCH                                       last         'Exception'
    5    11    >   ASSIGN                                                   !0, 'noop'
    8    12    >   INIT_FCALL                                               'print_r'
         13        SEND_VAR                                                 !0
         14        DO_ICALL                                                 
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.58 ms | 1394 KiB | 19 Q