Reply to Re: __autoload and duplicate vars clash

Your name:

Reply:


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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация