3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface StaticInterface { public static function interfaceMethod(); } class MyProvider implements StaticInterface { public static function interfaceMethod() {} } // Alternatively: (comment out the above to run) /* abstract class AbstractStaticProvider { abstract public static function abstractMethod(); } class AlternativeProvider extends AbstractStaticProvider { } */
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/QNRJB
function name:  (null)
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   DECLARE_CLASS                                            'myprovider'
   20     1      > RETURN                                                   1

Class StaticInterface:
Function interfacemethod:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/QNRJB
function name:  interfaceMethod
number of ops:  1
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E > > RETURN                                                   null

End of function interfacemethod

End of class StaticInterface.

Class MyProvider:
Function interfacemethod:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/QNRJB
function name:  interfaceMethod
number of ops:  1
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E > > RETURN                                                   null

End of function interfacemethod

End of class MyProvider.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
143.26 ms | 998 KiB | 13 Q