3v4l.org

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

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

End of function bar

End of class foo.

Class bar: [no user functions]

Generated using Vulcan Logic Dumper, using php 7.3.0