3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php class Foo { public function bar() { } } class FooSubclass extends Foo { public function bar(array $data=null) { } }
based on WaXZk
Finding entry points
Branch analysis from position: 0
Jump found. Position 1 = -2
filename:       /in/9fI5W
function name:  (null)
number of ops:  4
compiled vars:  none
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   3     0  E >   NOP                                                      
  12     1        NOP                                                      
         2        NOP                                                      
  19     3      > RETURN                                                   1

Class Foo:
Function bar:
Finding entry points
Branch analysis from position: 0
Jump found. Position 1 = -2
filename:       /in/9fI5W
function name:  bar
number of ops:  1
compiled vars:  none
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   8     0  E > > RETURN                                                   null

End of function bar

End of class Foo.

Class FooSubclass:
Function bar:
Finding entry points
Branch analysis from position: 0
Jump found. Position 1 = -2
filename:       /in/9fI5W
function name:  bar
number of ops:  2
compiled vars:  !0 = $data
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
  15     0  E >   RECV_INIT                                        !0      null
  17     1      > RETURN                                                   null

End of function bar

End of class FooSubclass.

Generated using Vulcan Logic Dumper, using php 7.3.0