On Tue, 01 Jul 2003, Timm Friebe wrote:
> - Added Reflection_Class::getModifiers which returns a long 
>   consisting of the bitmask of modifiers which are registered
>   as constants with the following names:
> 
>   STATIC
>   ABSTRACT
>   FINAL
>   INTERFACE
>   ABSTRACT_CLASS
>   FINAL_CLASS
>   PUBLIC
>   PROTECTED
>   PRIVATE
>   PPP_MASK
>   CHANGED
>   IMPLICIT_PUBLIC

Should these be grouped somehow? PPP has a separate domain than
ABSTRACT_CLASS and FINAL_CLASS, for example.

>   TBDiscussed: Would something like
>     $modifiers= array('public', 'static')
>   be cooler? Currently, one would be checking with
>     $modifiers & STATIC

No, I'd prefer a bitmask rather than an array like that.

-Andrei
* There is no knowledge that is not power. -- Ralph Waldo Emerson *

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

Reply via email to