At 10:49 04/08/2006, Lukas Smith wrote:
Derick Rethans wrote:

- Add a new flag to methods (at the implementation level) that will allow to flag them as 'strict' - In case such a strict method is improperly overridden - error out (E_ERROR)
- In case a non-strict method is improperly overridden - emit E_STRICT

i am fine with that proposal .. if we do split up E_STRICT into E_STRICT (feature is not clean "proper" code) and E_DEPRECATED (feature will be dropped in the next major release)

also note that the first two points in Derick's list only apply to classes on the C level .. userland classes will only trigger E_STRICT if they are improperly overwritten.

It's my list actually, so I'm definitely +1 on that :)

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

Reply via email to