3v4l.org

run code in 500+ PHP versions simultaneously
<?php function ➕($other) { echo "added"; } function ➖($other) { echo "subtracted"; } ➖(4); ➕(5);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/gQKTb
function name:  (null)
number of ops:  7
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    7     0  E >   INIT_FCALL                                                   '%E2%9E%96'
          1        SEND_VAL                                                     4
          2        DO_FCALL                                          0          
    9     3        INIT_FCALL                                                   '%E2%9E%95'
          4        SEND_VAL                                                     5
          5        DO_FCALL                                          0          
          6      > RETURN                                                       1

Function %E2%9E%95:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/gQKTb
function name:  ➕
number of ops:  3
compiled vars:  !0 = $other
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   RECV                                                 !0      
          1        ECHO                                                         'added'
          2      > RETURN                                                       null

End of function %E2%9E%95

Function %E2%9E%96:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/gQKTb
function name:  ➖
number of ops:  3
compiled vars:  !0 = $other
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    5     0  E >   RECV                                                 !0      
          1        ECHO                                                         'subtracted'
          2      > RETURN                                                       null

End of function %E2%9E%96

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
156.29 ms | 1585 KiB | 15 Q