3v4l.org

run code in 300+ PHP versions simultaneously
<?php abstract class abc { abstract protected function f1($name, $address); } class xyz extends abc { protected function f1($name, $address) { return "$name , $address"; } } class jkl extends xyz { public function mno() { echo $this->f1('Ravi','Delhi'); } } $x = new jkl(); $x->mno();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/3NKsr
function name:  (null)
number of ops:  6
compiled vars:  !0 = $x
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   19     0  E >   NEW                                              $1      'jkl'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $1
   20     3        INIT_METHOD_CALL                                         !0, 'mno'
          4        DO_FCALL                                      0          
          5      > RETURN                                                   1

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

End of function f1

End of class abc.

Class xyz:
Function f1:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/3NKsr
function name:  f1
number of ops:  7
compiled vars:  !0 = $name, !1 = $address
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E >   RECV                                             !0      
          1        RECV                                             !1      
    9     2        ROPE_INIT                                     3  ~3      !0
          3        ROPE_ADD                                      1  ~3      ~3, '+%2C+'
          4        ROPE_END                                      2  ~2      ~3, !1
          5      > RETURN                                                   ~2
   10     6*     > RETURN                                                   null

End of function f1

End of class xyz.

Class jkl:
Function mno:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/3NKsr
function name:  mno
number of ops:  6
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   15     0  E >   INIT_METHOD_CALL                                         'f1'
          1        SEND_VAL_EX                                              'Ravi'
          2        SEND_VAL_EX                                              'Delhi'
          3        DO_FCALL                                      0  $0      
          4        ECHO                                                     $0
   16     5      > RETURN                                                   null

End of function mno

Function f1:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/3NKsr
function name:  f1
number of ops:  7
compiled vars:  !0 = $name, !1 = $address
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E >   RECV                                             !0      
          1        RECV                                             !1      
    9     2        ROPE_INIT                                     3  ~3      !0
          3        ROPE_ADD                                      1  ~3      ~3, '+%2C+'
          4        ROPE_END                                      2  ~2      ~3, !1
          5      > RETURN                                                   ~2
   10     6*     > RETURN                                                   null

End of function f1

End of class jkl.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.92 ms | 1012 KiB | 13 Q