3v4l.org

run code in 500+ PHP versions simultaneously
<?php function firstNum() { return 5; } function secondNum() { return 10; } echo firstNum() + secondNum(); //Output is 15
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/o841Z
function name:  (null)
number of ops:  7
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
   12     0  E >   INIT_FCALL                                                   'firstnum'
          1        DO_FCALL                                          0  $0      
          2        INIT_FCALL                                                   'secondnum'
          3        DO_FCALL                                          0  $1      
          4        ADD                                                  ~2      $0, $1
          5        ECHO                                                         ~2
          6      > RETURN                                                       1

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

End of function firstnum

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

End of function secondnum

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
158.22 ms | 2046 KiB | 15 Q