Am 27.02.2013 16:58, schrieb Mike Willbanks:
I am simply suggesting an alternative to using Reflection whereas:

get_class_constants([object|string]);
get_object_constants([object]);

Do we need both; probably not; the first would likely do.

+1 for the first one only


Am 27.02.2013 16:12, Analyst (Frank Schenk) trolled:
bitmask class to shuffle around with class constants

shuffle bits around with clearly named constants:
http://php.net/manual/en/language.operators.bitwise.php
https://github.com/symfony/symfony/blob/master/src/Symfony/Component/Security/Acl/Permission/MaskBuilder.php

cryptocompress


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

Reply via email to