2 error_reporting(E_ALL | E_STRICT);
4 print 'Eat 1 apple at the first day and next day eat twice!' . PHP_EOL;
9 $totalDays = ($years * 365 + $m);
12 for ($i = 1; $i <= $totalDays; $i++) {
17 print 'After ' . $totalDays . ' days (' . $years . ' years) you have eaten ' . $y . ' fruits.' . PHP_EOL;
18 print 'Length:' . strlen($y) . PHP_EOL;