3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace Test; class Foo {} namespace Bar; $d = Test\Foo::class; new $d; echo get_class($d);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ojHW4
function name:  (null)
number of ops:  10
compiled vars:  !0 = $d
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    9     0  E >   ASSIGN                                                   !0, 'Bar%5CTest%5CFoo'
   10     1        FETCH_CLASS                                   0  $2      !0
          2        NEW                                              $3      $2
          3        DO_FCALL                                      0          
          4        FREE                                                     $3
   12     5        INIT_NS_FCALL_BY_NAME                                    'Bar%5Cget_class'
          6        SEND_VAR_EX                                              !0
          7        DO_FCALL                                      0  $5      
          8        ECHO                                                     $5
          9      > RETURN                                                   1

Class Test\Foo: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
164.53 ms | 1394 KiB | 15 Q