3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Pimple {} class Application {} interface Provider { public function register(Pimple $p); } class SpecificProvider implements Provider { public function register(Application $a) {} }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/nuH1X
function name:  (null)
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   10     0  E >   DECLARE_CLASS                                            'specificprovider'
   12     1      > RETURN                                                   1

Class Pimple: [no user functions]
Class Application: [no user functions]
Class Provider:
Function register:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/nuH1X
function name:  register
number of ops:  2
compiled vars:  !0 = $p
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   RECV                                             !0      
          1      > RETURN                                                   null

End of function register

End of class Provider.

Class SpecificProvider:
Function register:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/nuH1X
function name:  register
number of ops:  2
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   11     0  E >   RECV                                             !0      
          1      > RETURN                                                   null

End of function register

End of class SpecificProvider.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
144.64 ms | 1397 KiB | 13 Q