3v4l.org

run code in 300+ PHP versions simultaneously
<?php function foo() { echo "bar"; } foo(); FOO(); class bar { static function baz() { echo "baz"; } } BAR::BAZ(); bar::BAZ(); bar::Baz();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/GTU6H
function name:  (null)
number of ops:  11
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E >   INIT_FCALL                                               'foo'
          1        DO_FCALL                                      0          
   10     2        INIT_FCALL                                               'foo'
          3        DO_FCALL                                      0          
   20     4        INIT_STATIC_METHOD_CALL                                  'BAR', 'BAZ'
          5        DO_FCALL                                      0          
   21     6        INIT_STATIC_METHOD_CALL                                  'bar', 'BAZ'
          7        DO_FCALL                                      0          
   22     8        INIT_STATIC_METHOD_CALL                                  'bar', 'Baz'
          9        DO_FCALL                                      0          
         10      > RETURN                                                   1

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

End of function foo

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

End of function baz

End of class bar.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.83 ms | 1397 KiB | 15 Q