3v4l.org

run code in 300+ PHP versions simultaneously
<?php $ex = new \Exception('hello', 500); throw $ex;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 108) Position 1 = -2
filename:       /in/fSuBN
function name:  (null)
number of ops:  7
compiled vars:  !0 = $ex
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   NEW                                              $1      'Exception'
          1        SEND_VAL_EX                                              'hello'
          2        SEND_VAL_EX                                              500
          3        DO_FCALL                                      0          
          4        ASSIGN                                                   !0, $1
    4     5      > THROW                                         0          !0
          6*     > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.94 ms | 1392 KiB | 13 Q