Skip to content

Running out of ce_flags and fn_flags options #35

@DanielEScherzer

Description

@DanielEScherzer

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions