3v4l.org

run code in 300+ PHP versions simultaneously
<?php try{ $array['a'] += 2; var_dump($array); } catch(Throwable){}
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 7
Branch analysis from position: 7
1 jumps found. (Code = 62) Position 1 = -2
Found catch point at position: 6
Branch analysis from position: 6
2 jumps found. (Code = 107) Position 1 = 7, Position 2 = -2
Branch analysis from position: 7
filename:       /in/VJ0SZ
function name:  (null)
number of ops:  8
compiled vars:  !0 = $array
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   ASSIGN_DIM_OP                +=               1          !0, 'a'
          1        OP_DATA                                                  2
    5     2        INIT_FCALL                                               'var_dump'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                                 
          5      > JMP                                                      ->7
    6     6  E > > CATCH                                       last         'Throwable'
          7    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.82 ms | 1393 KiB | 15 Q