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.jo...@oracle.com Tel: +1 650 506 8630
Twitter: http://twitter.com/ghrd Free PHP Book: http://tinyurl.com/UGPOM
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php