Re: [PHP-DEV] Re: Bug #17022: enhance socket_strerror(errno) to make errno optional

2002-05-05 Thread Markus Fischer
Hi, after thinking again I think it's best just not to touch this anyway. Let it be that one hast to call socket_strerror(socket_last_error()); There is really nothing wrong in writing this down that way. It's just getting much to write if you repeat your code everytime an

[PHP-DEV] Re: Bug #17022: enhance socket_strerror(errno) to make errno optional

2002-05-05 Thread Markus Fischer
Hi, technically this isn't a problem at all. I'm just pondering .. socket_strerror() is nothing better then a call to strerror(). If we one day decide to introduce a generic strerror() function to PHP it can't automagically fetch the last socket error of course ... th