E_STUPID
| From: | ceo at l-i-e dot com | Date: | Wed, 22 Oct 2008 18:37:55 +0000 |
| Subject: | E_STUPID | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-282284@lists.php.net to get a copy of this message | ||
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...