Re: Error recovery - fatal errors
| From: | Tim Streater | Date: | Mon, 16 May 2011 22:10:00 +0000 |
| Subject: | Re: Error recovery - fatal errors | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-312815@lists.php.net to get a copy of this message | ||
On 16 May 2011 at 21:34, Peter Lind <peter.e.lind@gmail.com> wrote:
> You were trying to call a method on a non-object - how do you expect
> PHP to handle that if not with a fatal error?
> Anyway, good to hear you solved the issue - I misunderstood what you
> wanted to do (shut down in a proper fashion, not actually recover from
> the error) so I didn't think to mention this.
Thanks, yes, that all appears to be function OK now. Meanwhile I'm chasing a strangeness to do
perhaps with UTF-8 - I send some simplified Chinese back from the PHP side as part of an ajax
response to the browser for it to display, and in one case it does it right, in another the browser
converts it to something else. I'm trying to duplicate this in a testbed with no success so
far. Still, it keeps me off the streets :-)
Cheers -- tim