[PHP] Re: E_STUPID

2008-10-22 Thread Jay Moore
[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

[PHP] Re: E_STUPID

2008-10-22 Thread Shawn McKenzie
[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...