Hi: I don't think this(you think there is no use) can used for the reason to do such a change.
actully I ask for a sencond argument for zend_make_printable_zval to suppress the warning *intentionally*. thanks 2011/10/30 Jordi Boggiano <j.boggi...@seld.be>: > On 30.10.2011 13:19, Laruence wrote: >> 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: > > It is obviously intentional but also obviously pointless. You might as > well just echo 'Array'; I don't think I have ever encountered a case > where you actually want to convert an array to a string and use the > result in a useful way. > > Cheers > > -- > Jordi Boggiano > @seldaek - http://nelm.io/jordi > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > -- Laruence Xinchen Hui http://www.laruence.com/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php