3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace Foo; class Bar { } namespace NS2; include 'test1.php'; use Foo\Bar; $class = "Bar"; new $class;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/fL4Nq
function name:  (null)
number of ops:  7
compiled vars:  !0 = $class
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    9     0  E >   INCLUDE_OR_EVAL                                          'test1.php', INCLUDE
   13     1        ASSIGN                                                   !0, 'Bar'
   14     2        FETCH_CLASS                                   0  $3      !0
          3        NEW                                              $4      $3
          4        DO_FCALL                                      0          
          5        FREE                                                     $4
          6      > RETURN                                                   1

Class Foo\Bar: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.99 ms | 1392 KiB | 13 Q