3v4l.org

run code in 300+ PHP versions simultaneously
<?php throw new RuntimeException('foo', 0, new Error('123'));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 108) Position 1 = -2
filename:       /in/8vUuA
function name:  (null)
number of ops:  10
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   NEW                                              $0      'RuntimeException'
          1        SEND_VAL_EX                                              'foo'
          2        SEND_VAL_EX                                              0
          3        NEW                                              $1      'Error'
          4        SEND_VAL_EX                                              '123'
          5        DO_FCALL                                      0          
          6        SEND_VAR_NO_REF_EX                                       $1
          7        DO_FCALL                                      0          
          8      > THROW                                         0          $0
          9*     > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.46 ms | 1392 KiB | 13 Q