|
Posted by ZeldorBlat on 10/18/07 13:02
On Oct 18, 5:34 am, turnitup <same@same> wrote:
> I am rewriting an application to take advantage of the __autoload
> functionality. If I accidentally declare a variable in the parent class
> which was previously declared in a child class, the child class fails on
> load, the script terminates, and no error is given.
>
> Is there anything I can do to show this error and its source?
For development crank up error_reporting and enable display_errors in
php.ini. For production systems crank up error_reporting, disable
display_errors and turn on log_errors so they go to a file instead of
the browser.
[Back to original message]
|