3v4l.org

run code in 300+ PHP versions simultaneously
<?php declare(strict_types=1); class ServiceManager { /** * Specify a factory for a given service name. * */ public function setFactory(string $serviceName, string|callable|Factory\FactoryInterface $factory): void {} /** * Create a new instance with an already resolved name */ private function doCreate(string $resolvedName, ?array $options = null): string|bool|object|array {} }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/O0aXb
function name:  (null)
number of ops:  1
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   19     0  E > > RETURN                                                   1

Class ServiceManager:
Function setfactory:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/O0aXb
function name:  setFactory
number of ops:  3
compiled vars:  !0 = $serviceName, !1 = $factory
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   11     0  E >   RECV                                             !0      
          1        RECV                                             !1      
   12     2      > RETURN                                                   null

End of function setfactory

Function docreate:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/O0aXb
function name:  doCreate
number of ops:  4
compiled vars:  !0 = $resolvedName, !1 = $options
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   17     0  E >   RECV                                             !0      
          1        RECV_INIT                                        !1      null
   18     2        VERIFY_RETURN_TYPE                                       
          3      > RETURN                                                   null

End of function docreate

End of class ServiceManager.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.21 ms | 1441 KiB | 13 Q