3v4l.org

run code in 300+ PHP versions simultaneously
<?php // Everything you enter here will be executed by our servers. Try it! class Foo { private static function blah() { echo "coooll"; } } class Bar extends Foo { public static function yup() { self::blah(); } } Bar::yup();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/SdOiR
function name:  (null)
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   18     0  E >   INIT_STATIC_METHOD_CALL                                  'Bar', 'yup'
          1        DO_FCALL                                      0          
          2      > RETURN                                                   1

Class Foo:
Function blah:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/SdOiR
function name:  blah
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   ECHO                                                     'coooll'
    8     1      > RETURN                                                   null

End of function blah

End of class Foo.

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

End of function yup

Function blah:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/SdOiR
function name:  blah
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   ECHO                                                     'coooll'
    8     1      > RETURN                                                   null

End of function blah

End of class Bar.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.3 ms | 1393 KiB | 13 Q