#27510 [Opn->Csd]: shm_put_var() return type incorrect
| From: | irchtml@php.net | Date: | Sat, 06 Mar 2004 08:47:17 +0000 |
| Subject: | #27510 [Opn->Csd]: shm_put_var() return type incorrect | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969359394@lists.php.net to get a copy of this message | ||
ID: 27510
Updated by: irchtml@php.net
Reported By: adam at trachtenberg dot com
-Status: Open
+Status: Closed
Bug Type: Documentation problem
Operating System: *
PHP Version: Irrelevant
New Comment:
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.
Thank you for the report, and for helping us make our documentation
better.
Fixed function proto and added note regarding return values.
Previous Comments:
------------------------------------------------------------------------
[2004-03-06 01:30:47] adam at trachtenberg dot com
Description:
------------
shm_put_var() is documented to return an int. This is
incorrect. The function returns a boolean.
If the function sucessfully puts the variable, it
returns true. If the index is wrong or there is
insufficient memory, it returns false.
(See also the user contributed note on the page.)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=27510&edit=1