Skip to content

produce better OPcodes in strict IF or-conditions #12199

@staabm

Description

@staabm

Description

could php-src be smarter about IF or-conditions which only contain strict-comparisions to make it produce the same opcodes as in a strict in-array call?

see https://3v4l.org/QQQMr/vld

indentified in phpstan/phpstan-src#2618 (comment)

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