Re: cvs: php-src(PHP_5_3) /sapi/apache_hooks php_apache.c
| From: | Christopher Jones | Date: | Tue, 27 Jan 2009 22:19:13 +0000 |
| Subject: | Re: cvs: php-src(PHP_5_3) /sapi/apache_hooks php_apache.c | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-55989@lists.php.net to get a copy of this message | ||
Ilia Alshanetsky wrote:
iliaa Tue Jan 27 21:59:31 2009 UTC
Modified files: (Branch: PHP_5_3)
/php-src/sapi/apache_hooks php_apache.c
Log:
Improved parameter parsing
Since this kind of fix is a behavior change for people passing in
NULL. What about adding a NEWS entry for all the userspace functions
affected, or at least a note on the Upgrading wiki page
http://wiki.php.net/doc/scratchpad/upgrade/53?s[]=upgrading ?
It was pointed out on internals that substr() also has the same
"issue" with NULL being equivalent to 0. Seems like we now have a
bunch of inconsistent functions where some ignore null and some don't.
What's the consensus on how it should be treated?
Chris
--
Email: christopher.jones@oracle.com Tel: +1 650 506 8630
Twitter: http://twitter.com/ghrd Free PHP Book: http://tinyurl.com/UGPOM