3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface Animal { public static function communicate(); public static function whatever(); } class Dog implements Animal { public static function communicate() { echo 'bark'; } public static function whatever() { } } class Cat implements Animal { public static function communicate() { echo 'meow'; } public static function whatever() { } }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/31T8s
function name:  (null)
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E >   DECLARE_CLASS                                            'dog'
   17     1        DECLARE_CLASS                                            'cat'
   24     2      > RETURN                                                   1

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

End of function communicate

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

End of function whatever

End of class Animal.

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

End of function communicate

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

End of function whatever

End of class Dog.

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

End of function communicate

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

End of function whatever

End of class Cat.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
142.26 ms | 1395 KiB | 13 Q