3v4l.org

run code in 300+ PHP versions simultaneously
<?php class BaseClass { public static function staticTestCallee() { echo "I am BaseClass\n"; } public static function staticTestCaller() { echo self::staticTestCallee(); } } class DerivedClass extends BaseClass { public static function staticTestCallee() { echo "I am DerivedClass\n"; } } DerivedClass::staticTestCaller();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/0UMfB
function name:  (null)
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   19     0  E >   INIT_STATIC_METHOD_CALL                                  'DerivedClass', 'staticTestCaller'
          1        DO_FCALL                                      0          
          2      > RETURN                                                   1

Class BaseClass:
Function statictestcallee:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/0UMfB
function name:  staticTestCallee
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E >   ECHO                                                     'I+am+BaseClass%0A'
    7     1      > RETURN                                                   null

End of function statictestcallee

Function statictestcaller:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/0UMfB
function name:  staticTestCaller
number of ops:  4
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    9     0  E >   INIT_STATIC_METHOD_CALL                                  'staticTestCallee'
          1        DO_FCALL                                      0  $0      
          2        ECHO                                                     $0
   10     3      > RETURN                                                   null

End of function statictestcaller

End of class BaseClass.

Class DerivedClass:
Function statictestcallee:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/0UMfB
function name:  staticTestCallee
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   15     0  E >   ECHO                                                     'I+am+DerivedClass%0A'
   16     1      > RETURN                                                   null

End of function statictestcallee

Function statictestcaller:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/0UMfB
function name:  staticTestCaller
number of ops:  4
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    9     0  E >   INIT_STATIC_METHOD_CALL                                  'staticTestCallee'
          1        DO_FCALL                                      0  $0      
          2        ECHO                                                     $0
   10     3      > RETURN                                                   null

End of function statictestcaller

End of class DerivedClass.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
173.59 ms | 1395 KiB | 13 Q