3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface labas { public function getFoo(); } interface ate extends labas { public function getBar(); } class kazkas implements ate { public function getBar() { echo 'bar'; } }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/jgGLd
function name:  (null)
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   DECLARE_CLASS                                            'ate'
   11     1        DECLARE_CLASS                                            'kazkas'
   16     2      > RETURN                                                   1

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

End of function getfoo

End of class labas.

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

End of function getbar

End of class ate.

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

End of function getbar

End of class kazkas.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
174.17 ms | 1385 KiB | 13 Q