3v4l.org

run code in 500+ PHP versions simultaneously
<?php namespace Hello\World; class Derp extends \LogicException {} $x = new \Hello\World\Derp('hello'); echo get_class($x); throw $x;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 108) Position 1 = -2
filename:       /in/lrIIP
function name:  (null)
number of ops:  10
compiled vars:  !0 = $x
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    7     0  E >   NEW                                                  $1      'Hello%5CWorld%5CDerp'
          1        SEND_VAL_EX                                                  'hello'
          2        DO_FCALL                                          0          
          3        ASSIGN                                                       !0, $1
    9     4        INIT_NS_FCALL_BY_NAME                                        'Hello%5CWorld%5Cget_class'
          5        SEND_VAR_EX                                                  !0
          6        DO_FCALL                                          0  $4      
          7        ECHO                                                         $4
   11     8      > THROW                                             0          !0
   12     9*     > RETURN                                                       1

Class Hello\World\Derp: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
172.96 ms | 3381 KiB | 14 Q