> My point was to remove the (not needed) php_error() calls > completely and save the message(errorcode) in a variable so > the user (developer) can decide himself if he wants to do > something with the message or not. > > php_error() call's are, verbosely spoken, pain in the ass to > catch ($php_errmsg global var?? no thanks). It would overal > make more sense for this module to don't do any error output > itself but provide a error string fetch function or so.
+1 Having posix_errno() which returns the error of the last message and posix_strerror() which returns the description should be the way to go. In addition it is consistent with the rest of posix functions. Edin -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php