zend_compile.h defines a bunch of ZEND_ACC_* flags for use in the following fields
ce_flags: zend_class_entry
fn_flags: zend_op_array / zend_internal_function
flags: zend_property_info
value.u2.constant_flags (bottom 16 bits): zend_constant
Function flags already use 31 of 32 possible values (not using 1 << 30) and some values are used twice (one flag for internal classes and another for userland classes with the same values)
Class flags already use 31 of 32 possible values (not using 1 << 31)
This task is for tracking ideas and progress for being able to add more flags without issues