3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo "start\n"; try { trigger_error ("I R ERRRO"); } catch (Exception $e) { echo "Caught exception\n"; } echo "end\n";
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: 5
Branch analysis from position: 5
2 jumps found. (Code = 107) Position 1 = 6, Position 2 = -2
Branch analysis from position: 6
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/eg6dt
function name:  (null)
number of ops:  9
compiled vars:  !0 = $e
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   ECHO                                                     'start%0A'
    8     1        INIT_FCALL                                               'trigger_error'
          2        SEND_VAL                                                 'I+R+ERRRO'
          3        DO_ICALL                                                 
          4      > JMP                                                      ->7
    9     5  E > > CATCH                                       last         'Exception'
   10     6    >   ECHO                                                     'Caught+exception%0A'
   13     7    >   ECHO                                                     'end%0A'
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.02 ms | 1394 KiB | 15 Q