RE: [PHP-DEV] __string_value() crashes with return
| From: | Mike Robinson | Date: | Thu, 31 Aug 2000 22:22:49 +0000 |
| Subject: | RE: [PHP-DEV] __string_value() crashes with return | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-31517@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.
I agree. Get rid of it now, while the gettin' is good.
.mike