Re: Re: Release process
| From: | Richard Lynch | Date: | Thu, 03 May 2001 23:31:43 +0000 |
| Subject: | Re: Re: Release process | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-53755@lists.php.net to get a copy of this message | ||
> On Thu, 03 May 2001, Andi Gutmans wrote:
> > Yeah but I'm afraid it'll make scripts be written on behavior which
> > shouldn't be counted on.
> > Maybe in future versions of Zend $array['foo'] won't be defined. There
are
> > certain situations where I think it was impossible to not define it so
it
> > was defined with NULL meaning it's not defined.
>
> Um, but some db extensions return NULL values as part of the array, so
> if column 'foo' is NULL in the db, you'd want the result array to have
> NULL under key 'foo' - it just won't do to have that column be missing.
Um, lots of people use isset($row['foo]) to detect NULL in the database...
Are you going to change that behaviour?
Don't.
If the column is missing, they screwed up their SQL, which is not within the
pervue of PHP to fix in the first place...
--
WARNING richard@zend.com address is not working -- Use ceo@l-i-e.com
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm