Posted by Matthew Weier O'Phinney on 10/04/62 11:08
* 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.
--
Matthew Weier O'Phinney | WEBSITES:
Webmaster and IT Specialist | http://www.garden.org
National Gardening Association | http://www.kidsgardening.com
802-863-5251 x156 | http://nationalgardenmonth.org
mailto:matthew@garden.org | http://vermontbotanical.org
Navigation:
[Reply to this message]
|