Re: [PHP-DEV] __string_value() crashes with return From: Derick Rethans (d.rethans <email protected>)
Date: 08/31/00

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 <email protected>>
> http://www.zend.com/
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
> For additional commands, e-mail: php-dev-help <email protected>
> To contact the list administrators, e-mail: php-list-admin <email protected>

--
Derick Rethans
JDI Media Solutions

H.v.Tussenbroekstraat 1 6952 BL Dieren The Netherlands

e-mail: d.rethans <email protected> http://www.jdimedia.nl/

-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>