3v4l.org

run code in 300+ PHP versions simultaneously
<?php $p = 0; $i = 0.06; $c = 12; $n = 3; $r = 200; $x = $i / $c; $z = $n / 12; $y = pow((1 + $x), ($z * $c)); $vf = $p * $y + ($r * ($y - 1) / $x); echo $vf;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/FigRr
function name:  (null)
number of ops:  24
compiled vars:  !0 = $p, !1 = $i, !2 = $c, !3 = $n, !4 = $r, !5 = $x, !6 = $z, !7 = $y, !8 = $vf
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 0
    4     1        ASSIGN                                                   !1, 0.06
    5     2        ASSIGN                                                   !2, 12
    6     3        ASSIGN                                                   !3, 3
    7     4        ASSIGN                                                   !4, 200
    9     5        DIV                                              ~14     !1, !2
          6        ASSIGN                                                   !5, ~14
   10     7        DIV                                              ~16     !3, 12
          8        ASSIGN                                                   !6, ~16
   11     9        INIT_FCALL                                               'pow'
         10        ADD                                              ~18     1, !5
         11        SEND_VAL                                                 ~18
         12        MUL                                              ~19     !6, !2
         13        SEND_VAL                                                 ~19
         14        DO_ICALL                                         $20     
         15        ASSIGN                                                   !7, $20
   13    16        MUL                                              ~22     !0, !7
         17        SUB                                              ~23     !7, 1
         18        MUL                                              ~24     !4, ~23
         19        DIV                                              ~25     ~24, !5
         20        ADD                                              ~26     ~22, ~25
         21        ASSIGN                                                   !8, ~26
   15    22        ECHO                                                     !8
         23      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
182.72 ms | 1399 KiB | 15 Q