[PHP] exception throw from __autoload could not be catched on php 5.3.1

2010-01-28 Thread Eric Lee
Hi php-dev pros, I got an issue about catching exception throw from __autoload on php 5.3.1. The manual state that exception throw from __autoload could be catched with try.. catch statement same as the normal flow. But I'can archive that even I have copied the same sample code from the manual.

Re: [PHP] exception throw from __autoload could not be catched on php 5.3.1

2010-01-28 Thread Ashley Sheridan
On Fri, 2010-01-29 at 13:02 +0800, Eric Lee wrote: Hi php-dev pros, I got an issue about catching exception throw from __autoload on php 5.3.1. The manual state that exception throw from __autoload could be catched with try.. catch statement same as the normal flow. But I'can archive

Re: [PHP] exception throw from __autoload could not be catched on php 5.3.1

2010-01-28 Thread Ashley Sheridan
On Fri, 2010-01-29 at 13:02 +0800, Eric Lee wrote: Hi php-dev pros, I got an issue about catching exception throw from __autoload on php 5.3.1. The manual state that exception throw from __autoload could be catched with try.. catch statement same as the normal flow. But I'can archive

Re: [PHP] exception throw from __autoload could not be catched on php 5.3.1

2010-01-28 Thread Ryan
于 2010-1-29 13:19, Ashley Sheridan 写道: On Fri, 2010-01-29 at 13:02 +0800, Eric Lee wrote: Hi php-dev pros, I got an issue about catching exception throw from __autoload on php 5.3.1. The manual state that exception throw from __autoload could be catched with try.. catch statement same

Re: [PHP] exception throw from __autoload could not be catched on php 5.3.1

2010-01-28 Thread Eric Lee
On Fri, Jan 29, 2010 at 1:19 PM, Ashley Sheridan a...@ashleysheridan.co.ukwrote: On Fri, 2010-01-29 at 13:02 +0800, Eric Lee wrote: Hi php-dev pros, I got an issue about catching exception throw from __autoload on php 5.3.1. The manual state that exception throw from __autoload could be

Re: [PHP] exception throw from __autoload could not be catched on php 5.3.1

2010-01-28 Thread Eric Lee
Hi all and thanks for Ryan, I apologize ! ! I have missed out the small class_exists call before it. Thanks. Regards, Eric, 2010/1/29 Ryan ryansu...@gmail.com 于 2010-1-29 13:19, Ashley Sheridan 写道: On Fri, 2010-01-29 at 13:02 +0800, Eric Lee wrote: Hi php-dev pros, I got an