On Mar 23, 2004, at 1:11 PM, Rasmus Lerdorf wrote:


On Tue, 23 Mar 2004, Brad Fisher wrote:

Sure, but George was asking for a case. I think the case where you have
some existing PHP4 code that you want to make minimal changes to but you
might have a little bit of PHP5-specific code to run in the constructor I
could see this sort of chaining being something people want. I am not
saying that is the way people should create a portable class, just that I
could see such code popping up. And the question was what to do about the
old-style constructor method. I think it would be very confusing if it
was some sort of illegal method name that wasn't callable.

You sold me on the usefulness.


George

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



Reply via email to