]> git.mxchange.org Git - core.git/blobdiff - contrib/exp/exp1.php
Continued:
[core.git] / contrib / exp / exp1.php
index 6ffd1a0023cc07bad3f98a3333b50e919f65f01e..4808935205e289f941fa25704e19ea017514e26c 100644 (file)
@@ -12,9 +12,7 @@ $x = 1; $y = 0;
 for ($i = 1; $i <= $totalDays; $i++) {
        $x = bcmul($x, 2);
        $y = bcadd($y, $x);
-} // END - foreach
+}
 
 print 'After ' . $totalDays . ' days (' . $years . ' years) you have eaten ' . $y . ' fruits.' . PHP_EOL;
 print 'Length:' . strlen($y) . PHP_EOL;
-
-?>