Skip to content

OPcode dump of ZEND_INIT_ARRAY should not show (packed) if OP1 is unused #20978

@TimWolla

Description

@TimWolla

Description

The ->extended_value (which holds the ZEND_ARRAY_NOT_PACKED flag) is completely ignored when OP1 is unused, making the (packed) indicator misleading, since the array will remain uninitalized.

The (packed) should either be removed or replaced by something like (uninit).

PHP Version

git master

Operating System

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions