3v4l.org

run code in 300+ PHP versions simultaneously
<?php function f() { echo "f"; return 1; } function g() { echo "g"; return 2; } function h() { echo "h"; return 3; } echo f() + g() * h();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/LVr4o
function name:  (null)
number of ops:  10
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   INIT_FCALL                                               'f'
          1        DO_FCALL                                      0  $0      
          2        INIT_FCALL                                               'g'
          3        DO_FCALL                                      0  $1      
          4        INIT_FCALL                                               'h'
          5        DO_FCALL                                      0  $2      
          6        MUL                                              ~3      $1, $2
          7        ADD                                              ~4      $0, ~3
          8        ECHO                                                     ~4
          9      > RETURN                                                   1

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

End of function f

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

End of function g

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

End of function h

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.42 ms | 1402 KiB | 16 Q