AK> According to the current Coding Standard document.. it should be
AK> toString() : even though php is not Case-sensitive:)..
What about __construct, __destruct and __clone ?


these are built in. - and done to avoid conflicts.

Shouldn't it be named
__to_string() or __tostring() ?

since you implicitly make this available by adding an interface Morphable?? or soemthing, - toString() is ok..
I think it's alot better to make it available via an interface.. - It at least give you some chance of working out why it works as it does..


It would be nice to hear some noise from Zeev and Andi on this :)

Regards
Alan






-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to