Date: 01/14/01
- Next message: Shane Caraveo: "[PHP-DEV] isapi stress tester"
- Previous message: James Moore: "RE: [PHP-DEV] Re: question about this patch release (fwd)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: jbarrett <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: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Shane Caraveo: "[PHP-DEV] isapi stress tester"
- Previous message: James Moore: "RE: [PHP-DEV] Re: question about this patch release (fwd)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

