Hi: like the following script: <?php $str = (string)array(); echo $str;
it is obviously intentionally convert a array to string , but the warning is coming: PHP Notice: Array to string conversion in /tmp/1.php on line 2 so I think maybe this change is a little radical, thanks 2011/10/30 Laruence <larue...@php.net>: > here is the report #60174 > > thanks > > 2011/10/30 Laruence <larue...@php.net>: >> Hi: >> there is a bug report about this new change. >> >> I found that there has added a notice to zend_make_printable_zval >> and without any parameter to suppress the warning. >> >> I think this is very bad, since zend_make_printable_zval is used >> in internal when need to print some infos. >> >> so maybe we should revert the change in zend_make_printable_zval ? >> or add a parameter to suppress the warning when it is intentionally >> to. >> >> thanks >> >> 2011/10/19 Stas Malyshev <smalys...@sugarcrm.com>: >>> Hi! >>> >>> On 10/18/11 11:28 PM, Patrick ALLAERT wrote: >>>> >>>> I have not enough karma to change Zend/zend.c. >>>> Could you solve this please? >>>> >>>> Once solved I can push this to trunk and PHP_5_4. >>> >>> If you send me the patch I can apply it. >>> >>> >>> -- >>> Stanislav Malyshev, Software Architect >>> SugarCRM: http://www.sugarcrm.com/ >>> (408)454-6900 ext. 227 >>> >>> -- >>> PHP Internals - PHP Runtime Development Mailing List >>> To unsubscribe, visit: http://www.php.net/unsub.php >>> >>> >> >> >> >> -- >> Laruence Xinchen Hui >> http://www.laruence.com/ >> > > > > -- > Laruence Xinchen Hui > http://www.laruence.com/ > -- Laruence Xinchen Hui http://www.laruence.com/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php