1. First of all, I agree that in a perfect world we should go with E_COMPILE_ERROR for everything. Maybe now that's constructors are
+1
Are you guys serious about a compile error if I override a method with different parameters? This must be the mailing list of a different language than PHP...
If you override an interface with a different number of parameters or with incorrectly typed parameters, yes.
I agree there but 1. was saying _everything_, that included more than just interfaces and abstract classes. That's why I'm asking if you're serious.
Let's recap:
a) People agree to be strict for *interfaces* and *abstract classes*.
b) There was a proposal to also give a compile error for normal methods. I'm not sure if people who gave a +1 here really meant it.
- Chris
-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php