Bug #17960: socket_last_error parameter
| From: | darvin dot andrioli at caricese dot it | Date: | Tue, 25 Jun 2002 05:17:25 +0000 |
| Subject: | Bug #17960: socket_last_error parameter | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-12006@lists.php.net to get a copy of this message | ||
From: darvin.andrioli@caricese.it
Operating system: Window 2000 pro
PHP version: 4.2.1
PHP Bug Type: Sockets related
Bug description: socket_last_error parameter
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.
Example:
echo socket_last_error();
write:
PHP Warning: socket_last_error() expects exactly 1 parameter, 0 given in
f:\php\php412\test\client.php on line 14
--
Edit bug report at http://bugs.php.net/?id=17960&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=17960&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=17960&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=17960&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=17960&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=17960&r=support
Expected behavior: http://bugs.php.net/fix.php?id=17960&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=17960&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=17960&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=17960&r=globals