AG>> c) Add a new INI option (zend.strict_inheritance_checks) which AG>> does check signature for methods (except for constructor). I AG>> don't like new INI options but I don't think there's any way AG>> out.
There's a dilemma about this option. On one hand, it should be on by default. Otherwise, people would code for default configuration, it would work for default, but misteriously fail on some setups. If it's default, one would have to code so that signatures are OK and it would work on both default and non-default. But this way it makes the option a bit of pointless except as a way to preserve old code running. On the other hand, most big shops would have to set it to off when they move to PHP5 otherwise everybody would cry "PHP5 broke my code". Tricky. -- Stanislav Malyshev, Zend Products Engineer [EMAIL PROTECTED] http://www.zend.com/ +972-3-6139665 ext.109 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php