At 10:17 AM 5/3/2001 -0500, Andrei Zmievski wrote:
>On Thu, 03 May 2001, Andi Gutmans wrote:
> > Anyway, it's not something I think we should change right now.
> > I think Andrei's MySQL patch should be reverted though. Many people are
> > doing isset($row["foo"]) on their MySQL query results. Today if "foo" is
> > NULL it will return false. If this is ever changed (some people thing it
> > should) it will return true. So why not change the MySQL module back to 
> the
> > way it was? It worked for everyone and it might allow us to make this
> > change in future.
>
>Ok, why do people do isset($row['foo'])?

To see if it's NULL.


>Also, have you seen people complain about my patch to MySQL that adds
>NULL's to the result set?

No because isset() returns false for NULL values. But many people would 
like it to return true, and then it would break people's scripts. I guess 
at that point we could change the MySQL module back and not really break 
people's scripts.

Andi


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to