3v4l.org

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

Class Foo\Bar: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.81 ms | 1392 KiB | 13 Q