3v4l.org

run code in 300+ PHP versions simultaneously
<?php trait A { abstract protected function getContainer(); } trait B { abstract protected function getContainer(); } class C { use A, B; protected function getContainer() { return null; } }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/fq4JR
function name:  (null)
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   14     0  E >   DECLARE_CLASS                                            'c'
   27     1      > RETURN                                                   1

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

End of function getcontainer

End of class A.

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

End of function getcontainer

End of class B.

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

End of function getcontainer

End of class C.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.88 ms | 1394 KiB | 13 Q