[EMAIL PROTECTED] wrote:
I think we need a new error reporting constant E_STUPID.
This should catch stupid things I do like trying to embed an array into a
string such as:
$foo = array('a', 'b', 'c');
$query = "select * from foo where foo in ('$foo')";
It's been one of those days...
Yeah but being stupid, we'd probably just forget to set it. Then we'd
need a E_STUPID_ACTIVE flag that alerts us if E_STUPID isn't set.
But we'd probably just forget to set *that*, so we'd need a
E_STUPID_ACTIVE_ACTIVE flag, too, and to be honest, that's too many
underscores for me.
Jay
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php