Re: Strange conversion
| From: | Derick Rethans | Date: | Sun, 17 Dec 2000 15:50:15 +0000 |
| Subject: | Re: Strange conversion | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-41651@lists.php.net to get a copy of this message | ||
Stanislav Malyshev wrote:
>
> 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.
I can't imagine that anyone relies on this, so I think it could be
changed
without pain. What do you think?
--
Derick Rethans
---------------------------------------------------------------------
PHP: Scripting the Web - www.php.net - derick@php.net
---------------------------------------------------------------------
JDI Media Solutions - www.jdimedia.nl - d.rethans@jdimedia.nl
H.v. Tussenbroekstraat 1 - 6952 BL Dieren - The Netherlands
---------------------------------------------------------------------
"Daze: the web is just a fad, in a year or two we'll all being using
stone tablets and chisels"
---------------------------------------------------------------------