From:             [EMAIL PROTECTED]
Operating system: 
PHP version:      4.3.2RC1
PHP Bug Type:     Documentation problem
Bug description:  Misunderstanding with "return" values

Hi,

the explaination of the function var_dump() isn't clear enough
(http://www.php.net/manual/en/function.var-dump.php):

----------------- User note added -----------------

The notes for this function say:

"void var_dump ( mixed expression [, mixed expression [, ...]])

This function returns structured information about..."

I've never used this function before, and I don't know how it works. 
First it says it returns void, then it says it returns a value.  Please
clarify this document.

----------------- End of user note -----------------

I think he misunderstand the meaning of "This function returns". It's not
the return value of the function. It's just the output it will produce.

Maybe somebody could change the explaination to cleaner description.

Greetings
Oliver

-- 
Edit bug report at http://bugs.php.net/?id=23002&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=23002&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=23002&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=23002&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=23002&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=23002&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=23002&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=23002&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=23002&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=23002&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=23002&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=23002&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=23002&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=23002&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=23002&r=gnused


-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to