From: [EMAIL PROTECTED]
Operating system: Debian Linux
PHP version: 4.0.3pl1
PHP Bug Type: Documentation problem
Bug description: incorrect example code for mktime
Example 2 should read instead :-
$lastday = date("d", mktime (0,0,0,3,0,2000));
echo strftime ("Last day in Feb 2000 is: %d", $lastday);
$lastday = date("d", mktime (0,0,0,4,-31,2000));
echo strftime ("Last day in Feb 2000 is: %d", $lastday);
(Note if this has been changed in 4.0.4 to not require date ignore me :P i'm running
on 4.0.3)
--
Edit Bug report at: http://bugs.php.net/?id=8703&edit=1
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]