3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface MyClass { public function testy(); } class MyFoo implements MyClass { public function testy() { echo 'test';} } class MyBar extends MyFoo { }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/si4LH
function name:  (null)
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   DECLARE_CLASS                                            'myfoo'
   11     1        DECLARE_CLASS                                            'mybar', 'myfoo'
   12     2      > RETURN                                                   1

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

End of function testy

End of class MyClass.

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

End of function testy

End of class MyFoo.

Class MyBar: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.96 ms | 1393 KiB | 13 Q