3v4l.org

run code in 300+ PHP versions simultaneously
<?php class StaticTroll { public function foo() { echo 'foo'; } public static function bar() { echo 'bar'; } } StaticTroll::foo(); StaticTroll::bar();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/GGeBf
function name:  (null)
number of ops:  5
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   22     0  E >   INIT_STATIC_METHOD_CALL                                  'StaticTroll', 'foo'
          1        DO_FCALL                                      0          
   24     2        INIT_STATIC_METHOD_CALL                                  'StaticTroll', 'bar'
          3        DO_FCALL                                      0          
          4      > RETURN                                                   1

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

End of function foo

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

End of function bar

End of class StaticTroll.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.44 ms | 1397 KiB | 13 Q