Re: Strange conversion
| From: | Stanislav Malyshev | Date: | Sun, 17 Dec 2000 12:47:38 +0000 |
| Subject: | Re: Strange conversion | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-41644@lists.php.net to get a copy of this message | ||
DR>> I have no problem changing all the functions in strings.c to check if no
DR>> array is passed. I simply find it strange that an array is converted to
That would be silly thing to do. convert_to_string_ex should be changed,
not every function using it. That's the purpose of making functions, after
all.
DR>> the string "Array", when it is taken as a function parameter. Another
That's PHP 3 legacy, I guess.
--
Stanislav Malyshev, Zend Products Engineer
stas@zend.com http://www.zend.com/ +972-3-6139665 ext.115