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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: php at richardneill dot org
New email:
PHP Version: OS:

 

 [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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Thu Jul 17 14:04:04 2025 UTC