Re: __string_value() crashes with return

From: Date: Fri, 01 Sep 2000 09:44:34 +0000
Subject: Re: __string_value() crashes with return
References: 1 2 3 4 5 6 7 8  Groups: php.dev 
Request: Send a blank email to php-dev+get-31553@lists.php.net to get a copy of this message
On Thu, Aug 31, 2000 at 10:51:44PM +0300, Andi Gutmans wrote: > At 12:35 PM 8/31/00 -0700, Lars Torben Wilson wrote: > >Andrei Zmievski writes: > > > On Thu, 31 Aug 2000, Andi Gutmans wrote: > > > > It does because it increases the "what the fuck factor" when it > > > > doesn't > > > > work for (string) $obj and I think there aren't really good reasons > > to keep > > > > it. And anyways, I doubt it has reached enough audience (it doesn't > > seem to > > > > be documented) in order for it to hurt backwards compatibility. > > > > > > Either we go all the way and have an ability for object to provide > > > custom handler functions for string conversion, comparison, etc. (like > > > Python), or we remove that functionality totally. Having it halfway > > > would be half-assed. > > > > > > -Andrei > > > >And a pain in the butt to document: > > > >'It does this, but only for this circumstance...and doesn't really > > work like other stuff in the language, because...no, it won't be made > > more consistent...um...' > > > >;) > > I nuked it. good. tc > > Andi > --- > Andi Gutmans <andi@zend.com> > http://www.zend.com/ > > -- > PHP Development Mailing List <http://www.php.net/> > To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net > For additional commands, e-mail: php-dev-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net -- Thies C. Arntzen "One Big-Mac, Small Fries and a Coke!" Digital Collections Phone +49 40 235350 Fax +49 40 23535180 Hammerbrookstr. 93 20097 Hamburg / Germany

« previous php.dev (#31553) next »