3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php class A { public function a(string $a) { } } class B extends A { public function b(string $a, string $b = null) { } }
based on jn6Bp
Finding entry points
Branch analysis from position: 0
Jump found. (Code = 62) Position 1 = -2
filename:       /in/hRu6d
function name:  (null)
number of ops:  4
compiled vars:  none
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   3     0  E >   NOP                                                      
   9     1        NOP                                                      
         2        NOP                                                      
  13     3      > RETURN                                                   1

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

End of function a

End of class A.

Class B:
Function b:
Finding entry points
Branch analysis from position: 0
Jump found. (Code = 62) Position 1 = -2
filename:       /in/hRu6d
function name:  b
number of ops:  3
compiled vars:  !0 = $a, !1 = $b
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
  10     0  E >   RECV                                             !0      
         1        RECV_INIT                                        !1      null
  12     2      > RETURN                                                   null

End of function b

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

End of function a

End of class B.

Generated using Vulcan Logic Dumper, using php 7.2.0