3v4l.org

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

End of function docreate

End of class ServiceManager.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
140.24 ms | 1447 KiB | 13 Q