3v4l.org

run code in 300+ PHP versions simultaneously
<?php class ArrayClass { public function foo(array $foo) { // TODO } } class EverythingClass extends ArrayClass { public function foo($foo) { // TODO } }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/J9JXR
function name:  (null)
number of ops:  1
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   17     0  E > > RETURN                                                   1

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

End of function foo

End of class ArrayClass.

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

End of function foo

End of class EverythingClass.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
173.95 ms | 1439 KiB | 13 Q