3v4l.org

run code in 300+ PHP versions simultaneously
<?php class myClass{} class ChildClass extends ParentClass { function myFunction($param1, myClass $deprecated = null) { } } class ParentClass { function myFunction($param1, $param2 = null) { } } $obj = new ChildClass;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/PascG
function name:  (null)
number of ops:  5
compiled vars:  !0 = $obj
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   DECLARE_CLASS                                            'childclass', 'parentclass'
   22     1        NEW                                              $1      'ChildClass'
          2        DO_FCALL                                      0          
          3        ASSIGN                                                   !0, $1
          4      > RETURN                                                   1

Class myClass: [no user functions]
Class ChildClass:
Function myfunction:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/PascG
function name:  myFunction
number of ops:  3
compiled vars:  !0 = $param1, !1 = $deprecated
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   RECV                                             !0      
          1        RECV_INIT                                        !1      null
   10     2      > RETURN                                                   null

End of function myfunction

End of class ChildClass.

Class ParentClass:
Function myfunction:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/PascG
function name:  myFunction
number of ops:  3
compiled vars:  !0 = $param1, !1 = $param2
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   16     0  E >   RECV                                             !0      
          1        RECV_INIT                                        !1      null
   19     2      > RETURN                                                   null

End of function myfunction

End of class ParentClass.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.95 ms | 1393 KiB | 13 Q