Skip to content

Detect Fetch Type For Opcode ZEND_ASSIGN_STATIC_PROP #16379

@tahaghafuri

Description

@tahaghafuri

Description

if opline->op2_type == IS_UNUSED how to detect fetch type,example php code:
self::$selfProp = 5;
static::$lateBindingProp = 6;
parent::$parentStaticProp = 2;
No matter what I try, I can't recognize the type of these (self,parent,static), how can I recognize these flags?

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