Re: [PHP-DEV] [PATCH] Allow null to string conversion for PHP 6

2008-03-26 Thread Antony Dovgal
On 26.03.2008 03:55, Christian Schneider wrote: > Playing around with PHP 6 I noticed that some functions start to > complain about conversion of null values to strings: > > php -d error_reporting=65535 -r 'var_dump(urldecode(null));' > > Warning: urldecode() expects parameter 1 to be strictly a

[PHP-DEV] [PATCH] Allow null to string conversion for PHP 6

2008-03-25 Thread Christian Schneider
Playing around with PHP 6 I noticed that some functions start to complain about conversion of null values to strings: php -d error_reporting=65535 -r 'var_dump(urldecode(null));' Warning: urldecode() expects parameter 1 to be strictly a binary string, null given in Command line code on line 1