Re: [PHP4BETA] Change for MySQL NULL columns
| From: | Joey | Date: | Fri, 12 May 2000 21:41:50 +0000 |
| Subject: | Re: [PHP4BETA] Change for MySQL NULL columns | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-14958@lists.php.net to get a copy of this message | ||
+1...
How much is this expected to delay v4?
--Joey Smith
Please forgive the long sig:
*** Notice To Bulk Emailers: Attention! Pursuant to US Code, Title 47,
Chapter 5, Subchapter II, 227, any & all unsolicited commercial e-mail
sent to this address is subject to a download and archival fee in the
amount of the $1500 US and copies will be forwarded to domain
administrators. Emailing denotes acceptance of said terms!
On Fri, 12 May 2000, Andrei Zmievski wrote:
> I don't remember if this was discussed before or not, but I just
> discovered that a select which may potentially have NULL results in some
> rows will not be fully returned by mysql_fetch_array(). NULL results
> just disappear. I think they should be returned as PHP's NULL values.
>
> We'd like to make a change where the NULL values would be returned as
> part of the array. However, this may potentially break some scripts
> which depend on not having NULL values in the returned arrays. But since
> the same script can receive "" (empty) value from the database and the
> difference between NULL and "" is not that great, we feel that the
> consequences will be minimal.
>
> Unless we receive lots of strenuous objections to this, we'll implement
> the change before PHP 4 release.
>
> -Andrei
> * We reason deeply, when we forcibly feel. *
>
> --
> PHP 4.0 Beta Mailing List <http://www.php.net/version4/>
> To unsubscribe, e-mail: php4beta-unsubscribe@lists.php.net
> For additional commands, e-mail: php4beta-help@lists.php.net
> To contact the list administrators, e-mail: php4beta-admin@lists.php.net
>
>