3v4l.org

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

Class Foo\Bar: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.26 ms | 1393 KiB | 13 Q