Hi!

On 9/18/11 8:09 AM, Derick Rethans wrote:
If you don't want those warnings, turn them off! That's why there is a
specific error level for it.

1. It's not possible to turn these specific warnings off. The error level turns off all warnings on the level, not just specific ones.

2. These warnings don't warn about anything useful. There's no problem there to warn about.

3. Some of them aren't actually a warnings but fatal errors. Example:

abstract class BaseClass {
    abstract public function foo(Type1 $foo, Type2 $bar);
}

class ExtendedClass extends BaseClass {
   public function foo() {
   }
}


This doesn't make sense on two levels: there's no reason why I can't extend foo() this way and there's no reason why abstracts are treated differently from non-abstracts.
--
Stanislav Malyshev, Software Architect
SugarCRM: http://www.sugarcrm.com/
(408)454-6900 ext. 227

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

Reply via email to