Jeff Moore wrote:
On Aug 4, 2006, at 3:23 AM, Derick Rethans wrote:
- Add a new flag to methods (at the implementation level) that will
allow to flag them as 'strict'
Hello,
Would exposing this flag to the user at method level get a bit verbose
for those who want to use it? Perhaps a class level flag for all
methods? Wasn't that proposed earlier? Its a long thread to follow,
forgive me if I've missed something.
Yeah if we do allow a flag for methods, then we should also have one for
the entire class. But if we reuse the "interface" keyword things will
get tricky. I doubt the strict camp wants to allow people to add method
bodies in interfaces and "class interface foo {}" looks odd too.
regards,
Lukas
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php