George Schlossnagle wrote:
On Feb 27, 2004, at 4:12 AM, Andi Gutmans wrote:
Hey,
I'd like to come to some conclusion about the latest changes which
break BC (trying to keep it short because some people here wrote long
essays and it took me too much time to catch up :) :
a) I agree that it doesn't make much sense for constructors, because
one always creates concrete classes.
To play devil's advocate, If I'm creating objects through a factory, the
unified constructor signature is very helpful.
So put a constructor declaration into the interface and have that one
validated.
Cheers,
Michael
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php