php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #27510 shm_put_var() return type incorrect
Submitted: 2004-03-06 01:30 UTC Modified: 2004-03-06 03:47 UTC
From: adam at trachtenberg dot com Assigned:
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS: *
Private report: No CVE-ID: None
 [2004-03-06 01:30 UTC] 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.)


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-03-06 03:47 UTC] irchtml@php.net
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.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue Jul 15 10:01:30 2025 UTC