Re: [PHP] E_STUPID

2008-10-22 Thread Jim Lucas
Ashley Sheridan wrote: > On Wed, 2008-10-22 at 20:04 +0100, Stut wrote: >> On 22 Oct 2008, at 19:37, [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: >>> >>>

Re: [PHP] E_STUPID

2008-10-22 Thread Ashley Sheridan
On Wed, 2008-10-22 at 20:04 +0100, Stut wrote: > On 22 Oct 2008, at 19:37, [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'

Re: [PHP] E_STUPID

2008-10-22 Thread Stut
On 22 Oct 2008, at 19:37, [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 on

[PHP] E_STUPID

2008-10-22 Thread ceo
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... -- PHP General Mailing L