Re: [PHP4BETA] Re: convert_to_string_ex is not the solution.

From: Date: Fri, 17 Sep 1999 17:23:05 +0000
Subject: Re: [PHP4BETA] Re: convert_to_string_ex is not the solution.
References: 1 2  Groups: php.version4 
Request: Send a blank email to php-version4+get-4588@lists.php.net to get a copy of this message
On Fri, Sep 17, 1999 at 05:49:22PM +0200, Zeev Suraski wrote: > On Fri, 17 Sep 1999, Joey wrote: > > > > > > > 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... > > Hmm, don't use undocumented features, they may change (you didn't program > around it, rather, you relied on it...). We won't change it in a way that > would enforce an incompatible behavior, but I'm really not sure why you > used it...? Users always tend to do the wrong thing. :-P -- Regards, Sascha Schumann Consultant

« previous php.version4 (#4588) next »