3v4l.org

run code in 300+ PHP versions simultaneously
<?php function test() { print "a"; throw new \Exception("hi"); print "b"; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/9bJoE
function name:  (null)
number of ops:  1
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E > > RETURN                                                   1

Function test:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 108) Position 1 = -2
filename:       /in/9bJoE
function name:  test
number of ops:  7
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   ECHO                                                     'a'
    6     1        NEW                                              $0      'Exception'
          2        SEND_VAL_EX                                              'hi'
          3        DO_FCALL                                      0          
          4      > THROW                                         0          $0
    7     5*       ECHO                                                     'b'
    8     6*     > RETURN                                                   null

End of function test

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
194.27 ms | 1392 KiB | 13 Q