<?php
$x=380;
$xx=$x;
$a=20; $q=10; $qq=0.01;
$s=0;
for ($i=$qq;; $i=$i+$i*$a*0.01)
{
$x-=$i;
echo ($s+1).">>>". ($xx-$x)."\n##>>>(". $i.")\n";
if ($x <0) break;
$y=$x;
$s++;
$c=$i;
} echo "\n#######\n";
echo ($c)."///".$s."\\\\\\ \n".($xx-$x).">>>n>>".(-$x)."\nend>>>". ($y);
?>
- Output for 5.6.0 - 5.6.40, 7.0.0 - 7.0.33, 7.1.0 - 7.1.33, 7.2.0 - 7.2.33, 7.3.0 - 7.3.33, 7.4.0 - 7.4.33, 8.0.0 - 8.0.30, 8.1.0 - 8.1.28, 8.2.0 - 8.2.18, 8.3.0 - 8.3.4, 8.3.6
- 1>>>0.0099999999999909
##>>>(0.01)
2>>>0.021999999999991
##>>>(0.012)
3>>>0.036400000000015
##>>>(0.0144)
4>>>0.053680000000043
##>>>(0.01728)
5>>>0.074416000000042
##>>>(0.020736)
6>>>0.099299200000019
##>>>(0.0248832)
7>>>0.12915903999999
##>>>(0.02985984)
8>>>0.164990848
##>>>(0.035831808)
9>>>0.20798901760003
##>>>(0.0429981696)
10>>>0.25958682112002
##>>>(0.05159780352)
11>>>0.321504185344
##>>>(0.061917364224)
12>>>0.39580502241279
##>>>(0.0743008370688)
13>>>0.48496602689534
##>>>(0.08916100448256)
14>>>0.59195923227441
##>>>(0.10699320537907)
15>>>0.72035107872927
##>>>(0.12839184645489)
16>>>0.87442129447516
##>>>(0.15407021574586)
17>>>1.0593055533702
##>>>(0.18488425889504)
18>>>1.2811666640442
##>>>(0.22186111067404)
19>>>1.5473999968531
##>>>(0.26623333280885)
20>>>1.8668799962237
##>>>(0.31947999937062)
21>>>2.2502559954684
##>>>(0.38337599924475)
22>>>2.7103071945621
##>>>(0.4600511990937)
23>>>3.2623686334746
##>>>(0.55206143891244)
24>>>3.9248423601695
##>>>(0.66247372669492)
25>>>4.7198108322034
##>>>(0.79496847203391)
26>>>5.6737729986442
##>>>(0.95396216644069)
27>>>6.818527598373
##>>>(1.1447545997288)
28>>>8.1922331180476
##>>>(1.3737055196746)
29>>>9.8406797416571
##>>>(1.6484466236095)
30>>>11.818815689989
##>>>(1.9781359483314)
31>>>14.192578827986
##>>>(2.3737631379977)
32>>>17.041094593584
##>>>(2.8485157655972)
33>>>20.4593135123
##>>>(3.4182189187167)
34>>>24.56117621476
##>>>(4.10186270246)
35>>>29.483411457712
##>>>(4.922235242952)
36>>>35.390093749255
##>>>(5.9066822915424)
37>>>42.478112499106
##>>>(7.0880187498509)
38>>>50.983734998927
##>>>(8.5056224998211)
39>>>61.190481998712
##>>>(10.206746999785)
40>>>73.438578398454
##>>>(12.248096399742)
41>>>88.136294078145
##>>>(14.697715679691)
42>>>105.77355289377
##>>>(17.637258815629)
43>>>126.93826347253
##>>>(21.164710578755)
44>>>152.33591616704
##>>>(25.397652694506)
45>>>182.81309940044
##>>>(30.477183233407)
46>>>219.38571928053
##>>>(36.572619880088)
47>>>263.27286313664
##>>>(43.887143856106)
48>>>315.93743576396
##>>>(52.664572627327)
49>>>379.13492291676
##>>>(63.197487152793)
50>>>454.97190750011
##>>>(75.836984583351)
#######
63.197487152793///49\\\
454.97190750011>>>n>>74.971907500108
end>>>0.86507708324347
- Output for 8.3.5
- Warning: PHP Startup: Unable to load dynamic library 'sodium.so' (tried: /usr/lib/php/8.3.5/modules/sodium.so (libsodium.so.23: cannot open shared object file: No such file or directory), /usr/lib/php/8.3.5/modules/sodium.so.so (/usr/lib/php/8.3.5/modules/sodium.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1>>>0.0099999999999909
##>>>(0.01)
2>>>0.021999999999991
##>>>(0.012)
3>>>0.036400000000015
##>>>(0.0144)
4>>>0.053680000000043
##>>>(0.01728)
5>>>0.074416000000042
##>>>(0.020736)
6>>>0.099299200000019
##>>>(0.0248832)
7>>>0.12915903999999
##>>>(0.02985984)
8>>>0.164990848
##>>>(0.035831808)
9>>>0.20798901760003
##>>>(0.0429981696)
10>>>0.25958682112002
##>>>(0.05159780352)
11>>>0.321504185344
##>>>(0.061917364224)
12>>>0.39580502241279
##>>>(0.0743008370688)
13>>>0.48496602689534
##>>>(0.08916100448256)
14>>>0.59195923227441
##>>>(0.10699320537907)
15>>>0.72035107872927
##>>>(0.12839184645489)
16>>>0.87442129447516
##>>>(0.15407021574586)
17>>>1.0593055533702
##>>>(0.18488425889504)
18>>>1.2811666640442
##>>>(0.22186111067404)
19>>>1.5473999968531
##>>>(0.26623333280885)
20>>>1.8668799962237
##>>>(0.31947999937062)
21>>>2.2502559954684
##>>>(0.38337599924475)
22>>>2.7103071945621
##>>>(0.4600511990937)
23>>>3.2623686334746
##>>>(0.55206143891244)
24>>>3.9248423601695
##>>>(0.66247372669492)
25>>>4.7198108322034
##>>>(0.79496847203391)
26>>>5.6737729986442
##>>>(0.95396216644069)
27>>>6.818527598373
##>>>(1.1447545997288)
28>>>8.1922331180476
##>>>(1.3737055196746)
29>>>9.8406797416571
##>>>(1.6484466236095)
30>>>11.818815689989
##>>>(1.9781359483314)
31>>>14.192578827986
##>>>(2.3737631379977)
32>>>17.041094593584
##>>>(2.8485157655972)
33>>>20.4593135123
##>>>(3.4182189187167)
34>>>24.56117621476
##>>>(4.10186270246)
35>>>29.483411457712
##>>>(4.922235242952)
36>>>35.390093749255
##>>>(5.9066822915424)
37>>>42.478112499106
##>>>(7.0880187498509)
38>>>50.983734998927
##>>>(8.5056224998211)
39>>>61.190481998712
##>>>(10.206746999785)
40>>>73.438578398454
##>>>(12.248096399742)
41>>>88.136294078145
##>>>(14.697715679691)
42>>>105.77355289377
##>>>(17.637258815629)
43>>>126.93826347253
##>>>(21.164710578755)
44>>>152.33591616704
##>>>(25.397652694506)
45>>>182.81309940044
##>>>(30.477183233407)
46>>>219.38571928053
##>>>(36.572619880088)
47>>>263.27286313664
##>>>(43.887143856106)
48>>>315.93743576396
##>>>(52.664572627327)
49>>>379.13492291676
##>>>(63.197487152793)
50>>>454.97190750011
##>>>(75.836984583351)
#######
63.197487152793///49\\\
454.97190750011>>>n>>74.971907500108
end>>>0.86507708324347
preferences:
234.23 ms | 409 KiB | 291 Q