3v4l.org

run code in 500+ PHP versions simultaneously
<?php function fivePercentIncrease(&$value) { $value *= 1.05; } $a = [10, 15, 20, 25, 30]; array_walk($a, 'fivePercentIncrease'); var_export($a);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/4q05O
function name:  (null)
number of ops:  9
compiled vars:  !0 = $a
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    7     0  E >   ASSIGN                                                       !0, <array>
    9     1        INIT_FCALL                                                   'array_walk'
          2        SEND_REF                                                     !0
          3        SEND_VAL                                                     'fivePercentIncrease'
          4        DO_ICALL                                                     
   11     5        INIT_FCALL                                                   'var_export'
          6        SEND_VAR                                                     !0
          7        DO_ICALL                                                     
          8      > RETURN                                                       1

Function fivepercentincrease:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/4q05O
function name:  fivePercentIncrease
number of ops:  3
compiled vars:  !0 = $value
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   RECV                                                 !0      
    4     1        ASSIGN_OP                                         3          !0, 1.05
    5     2      > RETURN                                                       null

End of function fivepercentincrease

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
161.83 ms | 2022 KiB | 15 Q