Re: E_STUPID
| From: | Shawn McKenzie | Date: | Thu, 23 Oct 2008 00:27:58 +0000 |
| Subject: | Re: E_STUPID | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-282319@lists.php.net to get a copy of this message | ||
ceo@l-i-e.com 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...
>
That's my new t-shirt idea "I'm with E_STUPID"
--
Thanks!
-Shawn
http://www.spidean.com