3v4l.org

run code in 300+ PHP versions simultaneously
<?php class WEE { private function wewe(){ echo 'Parent', PHP_EOL; } public static function test_static () { static::wewe(); } public static function test_self () { self::wewe(); } } class child extends WEE { private function wewe(){ echo 'child', PHP_EOL; } } child::test_static();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/tfpps
function name:  (null)
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   25     0  E >   INIT_STATIC_METHOD_CALL                                  'child', 'test_static'
          1        DO_FCALL                                      0          
          2      > RETURN                                                   1

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

End of function wewe

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

End of function test_static

Function test_self:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/tfpps
function name:  test_self
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   14     0  E >   INIT_STATIC_METHOD_CALL                                  'wewe'
          1        DO_FCALL                                      0          
   15     2      > RETURN                                                   null

End of function test_self

End of class WEE.

Class child:
Function wewe:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/tfpps
function name:  wewe
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   21     0  E >   ECHO                                                     'child'
          1        ECHO                                                     '%0A'
   22     2      > RETURN                                                   null

End of function wewe

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

End of function test_static

Function test_self:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/tfpps
function name:  test_self
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   14     0  E >   INIT_STATIC_METHOD_CALL                                  'wewe'
          1        DO_FCALL                                      0          
   15     2      > RETURN                                                   null

End of function test_self

End of class child.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.29 ms | 1399 KiB | 13 Q