From: [EMAIL PROTECTED] Operating system: any PHP version: 4.2.0 PHP Bug Type: Sockets related Bug description: enhance socket_strerror(errno) to make errno optional
socket_last_error(socket) was recently enhanced to make the socket optional. How about doing the same for the error number argument to socket_strerror() ? So instead of writing: die (socket_strerror(socket_last_error()) I can just write: die (socket_strerror()) ...Tom Robinson -- Edit bug report at http://bugs.php.net/?id=17022&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=17022&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=17022&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=17022&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=17022&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=17022&r=support Expected behavior: http://bugs.php.net/fix.php?id=17022&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=17022&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=17022&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=17022&r=globals