Re: pecl_http unsuppressible error messages

From: Date: Thu, 06 Mar 2008 15:45:02 +0000
Subject: Re: pecl_http unsuppressible error messages
References: 1 2  Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-5165@lists.php.net to get a copy of this message
Michael Wallner <mike <at> php.net> writes: > > MAybe you've any custom error handler defined? > > Mike > > Hey, that's exactly what the problem was. The database-communication class in this project had a custom error handler, and that was getting called. Changing my code to set_error_handler(tempErrHandler); $response = @http_head($url, array("timeout"=>1), $info); restore_error_handler(); did the trick. Thanks for the pointer :) -Brian

« previous php.pecl.dev (#5165) next »