php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #31973 socket_read return type: misleading documentation
Submitted: 2005-02-14 17:34 UTC Modified: 2005-02-15 12:29 UTC
From: php at richardneill dot org Assigned:
Status: Not a bug Package: Documentation problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
 [2005-02-14 17:34 UTC] php at richardneill dot org
Description:
------------
The documentation for socket_read suggests that it returns false on error, and "" on connection closed. This seems not to be true. Please also see this bug, which I filed about the function itself, which has been closed, because the function itself is correct.

Bug #28141  socket_read return type: false vs "", when PHP_NORMAL_READ


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-02-15 12:29 UTC] nlopess@php.net
duplicate of #28141. use that bug report instead.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 30 06:01:29 2024 UTC