Ticket #168 (new defect)

Opened 7 months ago

Last modified 7 months ago

Capture error messages for @-silenced code

Reported by: http://cygnus.myopenid.com/ Assigned to:
Priority: minor Milestone:
Keywords: errors logging Cc:
Project: php-openid OpenID Protocol:
Series: 2.x.x Web Browser:

Description

@-silencing causes errors to be lost if error information isn't also returned (for example, fsockopen does not return all error information). Errors should be caught with a custom error handler in this case, so they can be inspected.

Change History

05/20/08 16:18:39 changed by http://cygnus.myopenid.com/

See also: php.ini options "display_errors" and "log_errors". We should probably just tell people to turn "display_errors" off and "log_errors" on and remove all (or most) silencing from the library.