3v4l.org

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

Class Biz\Bar: [no user functions]
Class Foo\Bar: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
153.6 ms | 3284 KiB | 14 Q