Re: Re: PHP Unicode support design document

From: Date: Wed, 10 Aug 2005 20:04:20 +0000
Subject: Re: Re: PHP Unicode support design document
References: 1 2 3 4 5 6 7 8  Groups: php.internals 
Request: Send a blank email to internals+get-17807@lists.php.net to get a copy of this message
On Wed, 10 Aug 2005, Marcus Boerger wrote:

>   i had a chat with Andi about __toString() and i hope that he finally
> undestood why a lot of ppl wanted it right from the beginning. To me the
> current situation is simply the worst case because noone understnds when it
> works and when not (. vs ,).

Yea, this is super tricky and subtle because even though print/echo
and ,/. are different, they appear to be identical in almost all other
cases.


I agree that forcing __toString() to return a string is perfectly
reasonable.

-adam

-- 
adam@trachtenberg.com | http://www.trachtenberg.com
author of o'reilly's "upgrading to php 5" and "php cookbook"
avoid the holiday rush, buy your copies today!


Thread (44 messages)

« previous php.internals (#17807) next »