ID: 11762
User Update by: [EMAIL PROTECTED]
Status: Bogus
Bug Type: Documentation problem
Operating system: win2k
PHP Version: 4.0.5
Description: bad example

thx for replying, thx 
btw, in
doucument list
file size? may not need if file is small enough
file size for compare and decide whether to download ?
why not show an document last update date?
or document version will be better :P
just suggestion, may not post as a reply here

Previous Comments:

[2001-06-28 11:29:28] [EMAIL PROTECTED]
Not necessarily. Latest should always be the online manual.
And the VERY latest is in CVS. :)


[2001-06-28 08:23:10] [EMAIL PROTECTED]
I think i've downloaded the lastest version of chm file.
I do also download it again.
isn't the CHM version of document the newest document ?


[2001-06-27 23:03:36] [EMAIL PROTECTED]
You must be looking into old manual or something since
the example I see on the getdate() manual page has perfect,
working example in it.


[2001-06-27 22:34:30] [EMAIL PROTECTED]
PHP manual
(PHP 3, PHP 4 )

getdate -- Get date/time information

array getdate ([int timestamp])

Example 1. getdate() example 

$today = getdate(); 
$month = $today[month]; 
$mday = $today[mday]; 
$year = $today[year]; 
echo "$month $mday, $year";
-> $mday = $today[mday]; 
warnning: Use of undefined constant mday - assumed 'mday'
although a undefined constant will be assumed as a string, it's still a bad usage of 
this auto conversion.

php manual writers shouldn't make a bad guide for php learners



Full Bug description available at:

PHP Development Mailing List <>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to