3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php interface Specification { function isSatisfiedBy($object); } class Testing implements Specification { function isSatisfiedBy($object){} } class Testing2 implements Specification { function isSatisfiedBy(Testing $object){} }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/CfRke
function name:  (null)
number of ops:  8
compiled vars:  none
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   3     0  E >   NOP                                                      
   7     1        DECLARE_CLASS                                    $1      'testing'
         2        ADD_INTERFACE                                            $1, 'Specification'
         3        VERIFY_ABSTRACT_CLASS                                    $1
  10     4        DECLARE_CLASS                                    $2      'testing2'
         5        ADD_INTERFACE                                            $2, 'Specification'
         6        VERIFY_ABSTRACT_CLASS                                    $2
  12     7      > RETURN                                                   1

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

End of function issatisfiedby

End of class Specification.

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

End of function issatisfiedby

End of class Testing.

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

End of function issatisfiedby

End of class Testing2.

Generated using Vulcan Logic Dumper, using php 7.3.0