3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo "start\n"; try { trigger_error ("I R ERRRO", E_ERROR); } 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 = 8
Branch analysis from position: 8
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
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/7sYfU
function name:  (null)
number of ops:  10
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        SEND_VAL                                                 1
          4        DO_ICALL                                                 
          5      > JMP                                                      ->8
    9     6  E > > CATCH                                       last         'Exception'
   10     7    >   ECHO                                                     'Caught+exception%0A'
   13     8    >   ECHO                                                     'end%0A'
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.94 ms | 1385 KiB | 15 Q