3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace Entity { class File { private $foo; } class FileInbox { private $file; public function setFile(File $file) { $this->file = $file; } } } namespace Entity\FileInbox { class File { private $bar; } } namespace Test { $fileInbox = new Entity\FileInbox(); }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/l6Ge7
function name:  (null)
number of ops:  4
compiled vars:  !0 = $fileInbox
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   24     0  E >   NEW                                              $1      'Test%5CEntity%5CFileInbox'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $1
   25     3      > RETURN                                                   1

Class Entity\File: [no user functions]
Class Entity\FileInbox:
Function setfile:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/l6Ge7
function name:  setFile
number of ops:  4
compiled vars:  !0 = $file
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   11     0  E >   RECV                                             !0      
   12     1        ASSIGN_OBJ                                               'file'
          2        OP_DATA                                                  !0
   13     3      > RETURN                                                   null

End of function setfile

End of class Entity\FileInbox.

Class Entity\FileInbox\File: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.12 ms | 1397 KiB | 13 Q