Bug #17332 Updated: easter_date()
| From: | derick@php.net | Date: | Tue, 21 May 2002 09:30:09 +0000 |
| Subject: | Bug #17332 Updated: easter_date() | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-8083@lists.php.net to get a copy of this message | ||
ID: 17332
Updated by: derick@php.net
Reported By: Martin.Schmitz@Uni-Bielefeld.de
-Status: Open
+Status: Bogus
Bug Type: *Calendar problems
Operating System: Linux
PHP Version: 4.2.1
New Comment:
Please open a new, more detailed bugreport for the easter_date 'bug'
And 2) is not a bug, the value of an uninitialized variable is NULL
(not 0).
Derick
Previous Comments:
------------------------------------------------------------------------
[2002-05-21 05:27:11] Martin.Schmitz@Uni-Bielefeld.de
Hi developers,
1) the easter functions doesn't work (in older versions you have to
compile it with dl/calendar, but in newer versions it should be
included (as it is written in the docu).
2) if a variable isn't defined it is '1' after you increment it.
e.g:
while($i <= 10){
echo 'Value = '.any_array[$i];
$i++;
}
any_array[0] will not be displayed, because it wasn't defined like "$i
= 0;" in top of the loop. But if isn't '0', it shouldn't be '1'
if you
increment it.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=17332&edit=1