|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #17960 socket_last_error parameter
Submitted: 2002-06-25 01:17 UTC Modified: 2002-06-25 02:27 UTC
From: darvin dot andrioli at caricese dot it Assigned:
Status: Closed Package: Sockets related
PHP Version: 4.2.1 OS: Window 2000 pro
Private report: No CVE-ID: None
 [2002-06-25 01:17 UTC] darvin dot andrioli at caricese dot it
The manual report that socket_last_error has only one optional parameter, but when I run it without parameter I get an error about the missing parameter.


echo socket_last_error();

PHP Warning: socket_last_error() expects exactly 1 parameter, 0 given in f:\php\php412\test\client.php on line 14


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-06-25 02:26 UTC]
Actually, the documentation refers to the current implementation of the developer snapshot from

Since the extension is marked explicitely as EXPERIMENTAL I don't see a reason to put in documentations for every function whose behaviour changed over the last PHP releases.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Feb 23 04:01:34 2024 UTC