You are here: Re: [PHP] Re: isset « PHP « IT news, forums, messages
Re: [PHP] Re: isset

Posted by Bret Hughes on 10/01/15 11:08

On Wed, 2005-02-16 at 07:54, Matthew Weier O'Phinney wrote:
> * Bret Hughes <bhughes@elevating.com>:
> > I just wish there was a use strict; sort of deal so I would not have to
> > hunt down logic errors due to mistyping a variable name.
>
> There is, in PHP5: E_STRICT. From the manual
> (http://php.net/manual/en/ref.errorfunc.php#errorfunc.constants):
>
> Run-time notices. Enable to have PHP suggest changes to your
> code which will ensure the best interoperability and forward
> compatibility of your code.
>

Hmm. Good tip thanks. chalk up another reason to upgrade to 5.
getting close to haveing enough reasons to do so :)

E_STRICT is closer but still does not warn of assigning to undeclared
variables in or out of a class. bummer.

Bret

 

Navigation:

[Reply to this 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

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