3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface FormatAwareInterface {} class SalesOrderItem implements FormatAwareInterface {} class SalesOrder implements FormatAwareInterface {} interface FormatterInterface { public function format(FormatAwareInterface $entity); } abstract class Formatter { abstract public function format(FormatAwareInterface $entity); } class SalesOrderItemFormatter implements FormatterInterface { public function format(SalesOrderItem $entity) {} } class SalesOrderFormatter implements FormatterInterface { public function format(SalesOrder $entity) {} }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/97XmB
function name:  (null)
number of ops:  5
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E >   DECLARE_CLASS                                            'salesorderitem'
    9     1        DECLARE_CLASS                                            'salesorder'
   22     2        DECLARE_CLASS                                            'salesorderitemformatter'
   28     3        DECLARE_CLASS                                            'salesorderformatter'
   32     4      > RETURN                                                   1

Class FormatAwareInterface: [no user functions]
Class SalesOrderItem: [no user functions]
Class SalesOrder: [no user functions]
Class FormatterInterface:
Function format:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/97XmB
function name:  format
number of ops:  2
compiled vars:  !0 = $entity
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   14     0  E >   RECV                                             !0      
          1      > RETURN                                                   null

End of function format

End of class FormatterInterface.

Class Formatter:
Function format:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/97XmB
function name:  format
number of ops:  2
compiled vars:  !0 = $entity
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   19     0  E >   RECV                                             !0      
          1      > RETURN                                                   null

End of function format

End of class Formatter.

Class SalesOrderItemFormatter:
Function format:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/97XmB
function name:  format
number of ops:  2
compiled vars:  !0 = $entity
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   24     0  E >   RECV                                             !0      
   25     1      > RETURN                                                   null

End of function format

End of class SalesOrderItemFormatter.

Class SalesOrderFormatter:
Function format:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/97XmB
function name:  format
number of ops:  2
compiled vars:  !0 = $entity
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   30     0  E >   RECV                                             !0      
   31     1      > RETURN                                                   null

End of function format

End of class SalesOrderFormatter.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.31 ms | 1395 KiB | 13 Q