3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface MyInterface { public function setParent(Foo $parent = null); } class Foo implements MyInterface { public function setParent(self $parent = null) {} }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/p0bvS
function name:  (null)
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E >   DECLARE_CLASS                                            'foo'
   10     1      > RETURN                                                   1

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

End of function setparent

End of class MyInterface.

Class Foo:
Function setparent:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/p0bvS
function name:  setParent
number of ops:  2
compiled vars:  !0 = $parent
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    9     0  E >   RECV_INIT                                        !0      null
          1      > RETURN                                                   null

End of function setparent

End of class Foo.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
144.08 ms | 1393 KiB | 13 Q