Re: __string_value() crashes with return

From: Date: Thu, 31 Aug 2000 19:38:40 +0000
Subject: Re: __string_value() crashes with return
References: 1 2  Groups: php.dev 
Request: Send a blank email to php-dev+get-31495@lists.php.net to get a copy of this message
Andi Gutmans wrote: > Well I can see no one can decide what to do with __string_value(). > Thies and I would like to see it removed and Zeev and some other folks > would like to keep it in. > I think it is a bit dumb to keep it in just so that print $obj will be > easier to type than print $obj->toString() especially as __string_value() > works and only will work in future with print. > How do we resolve this and decide? :) Remove it. Programmers are being too lazy already, and this "functionaly" is somewhat "fuzzy". I think there will be a lot of questions like: why does "(string) $object" not work, and so. > > 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 -- Derick Rethans JDI Media Solutions H.v.Tussenbroekstraat 1 6952 BL Dieren The Netherlands e-mail: d.rethans@jdimedia.nl http://www.jdimedia.nl/

« previous php.dev (#31495) next »