Hi: Actually, I only know two ,
one is in ext/reflection and another is 60174 I just fixed 60174 , but if there comes a new argument to zend_make_printable_zval , I will re-fix this . thanks 2011/10/31 Stas Malyshev <smalys...@sugarcrm.com>: > Hi! > >> 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: > > I think it's the correct way to react for PHP. This code is an extremely > convoluted way to write "echo 'Array';" and as such doesn't seem to do > anything useful. I have yet to see one single instance where converting > array to string made any sense. Of course, > > As for the warning in 60174, it seems to be a bug indeed - the code there > has no business converting any arrays to strings and in general the engine > shouldn't apply make_printable_zval to arrays knowingly - there's no useful > result that can come from that as far as I can see. So if you know more of > such cases lease point them out and they should be fixed. > -- > Stanislav Malyshev, Software Architect > SugarCRM: http://www.sugarcrm.com/ > (408)454-6900 ext. 227 > -- Laruence Xinchen Hui http://www.laruence.com/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php