Should I care about these errors?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all. I find that when I turn on strict error reporting:
ERROR_REPORTING(E_ALL);
I see all sorts of errors in scripts that otherwise work just fine.

The most common I guess is "Use of undefined constant".

I know where the errors come from and I know how to stop them, but I guess my question is "Should I bother?" Is there really any any harm if I write:

$price = 100;

without first defining $tennis as a string, or an integer or whatever?



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux