#23002 [Opn->Csd]: Misunderstanding with "return" values
| From: | derick@php.net | Date: | Tue, 01 Apr 2003 12:15:09 +0000 |
| Subject: | #23002 [Opn->Csd]: Misunderstanding with "return" values | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969352419@lists.php.net to get a copy of this message | ||
ID: 23002
Updated by: derick@php.net
Reported By: tix@php.net
-Status: Open
+Status: Closed
Bug Type: Documentation problem
PHP Version: 4.3.2RC1
New Comment:
This bug has been fixed in CVS.
In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.
In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2003-04-01 06:12:14] tix@php.net
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 this bug report at http://bugs.php.net/?id=23002&edit=1