Re: [PHP4BETA] Re: convert_to_string_ex is not the solution.
| From: | Joey | Date: | Fri, 17 Sep 1999 15:45:40 +0000 |
| Subject: | Re: [PHP4BETA] Re: convert_to_string_ex is not the solution. | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-4580@lists.php.net to get a copy of this message | ||
>
> i know a few people - including myself - who add a '&' here and there in
> my scripts to speed things up. and yes, i've got bitten by funtions that
> changed variable-types around without me expecting them to do so.
>
>
If you _DO_ decide to change this behavior, it should definitely go into
the incompat list. I have actually used this as an undocumented feature...
by calling strlen() on something passed by ref., I programmed some thing
to then expect a str.
I agree, it should _NOT_ have been happening, but bcz it did, I programmed
around it...perhaps others did also...