3v4l.org

run code in 300+ PHP versions simultaneously
<?php abstract class BaseCls{ protected $var = 1; protected abstract function getName($param); } class ChildCls extends BaseCls{ protected $var = 2; protected function getName($param){ } }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/IUcQL
function name:  (null)
number of ops:  1
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   12     0  E > > RETURN                                                   1

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

End of function getname

End of class BaseCls.

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

End of function getname

End of class ChildCls.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
187.03 ms | 1393 KiB | 13 Q