Re: [PHP-DEV] __string_value() crashes with return From: Andrei Zmievski (andrei <email protected>)
Date: 08/31/00

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

Any sufficiently advanced bug is
indistinguishable from a feature.
                -- Rich Kulawiec

-- 
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>