This should be wrong. If $a is not set, then it cannot be set to null...
"Andi Gutmans" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> If $a is undefined and you do is_null($a) I supposed you get true.
> I was talking about a language construct which will give false in this
case.
>
> 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.
>
> Andi
>
>
> At 05:16 PM 5/3/2001 +0200, Cynic wrote:
> >RTFM :))
> >
> >http://www.php.net/manual/en/html/function.is-null.html
> >
> >At 16:47 3.5. 2001, Andi Gutmans wrote the following:
> >--------------------------------------------------------------
> > >At 10:43 AM 5/3/2001 -0400, Joe Brown wrote:
> > >>What about an isnull() function, opposed to key_exists();
> > >>
> > >>IsPossible()?
> > >
> > >Yeah that's definitely a possiblity but then you'd have to do something
> > like.
> > >if (isset($a["foo"]) || isnull($a["foo"))
> > >
> > >Kind of sucky.
> > >But we should think of a good resolution for a major version.
> > >
> > >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]
> >------end of quote------
> >
> >
> >[EMAIL PROTECTED]
> >-------------
> >And the eyes of them both were opened and they saw that their files
> >were world readable and writable, so they chmoded 600 their files.
> > - Book of Installation chapt 3 sec 7
> >
> >
> >--
> >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]
>
>
> --
> 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]
>
--
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]