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/YbA4u
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/YbA4u
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: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
127.73 ms | 997 KiB | 13 Q