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