Re: Re: Release process
| From: | Joe Brown | Date: | Thu, 03 May 2001 15:30:35 +0000 |
| Subject: | Re: Re: Release process | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-53647@lists.php.net to get a copy of this message | ||
This should be wrong. If $a is not set, then it cannot be set to null...
"Andi Gutmans" <andi@zend.com> wrote in message
news:5.0.2.1.2.20010503181001.05c0e9a0@mail.zend.com...
> 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: php-dev-unsubscribe@lists.php.net
> > >For additional commands, e-mail: php-dev-help@lists.php.net
> > >To contact the list administrators, e-mail:
php-list-admin@lists.php.net
> >------end of quote------
> >
> >
> >cynic@mail.cz
> >-------------
> >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: php-dev-unsubscribe@lists.php.net
> >For additional commands, e-mail: php-dev-help@lists.php.net
> >To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net
> For additional commands, e-mail: php-dev-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>