Skip to content

Constant-Reflection: PDO::PARAM_STR has wrong value #5985

@staabm

Description

@staabm

Bug report

dumping the constant PDO::PARAM_STR returns a 3 via constant reflection, but the constant at php runtime has the value 2

https://phpstan.org/r/4de128fb-5101-4a3e-8b57-bd81487e706f
https://3v4l.org/hXh27

this is the one single issue which makes the last test in phpstan/phpstan-src#763 fail

native reflection seem to be correct
https://3v4l.org/FSkiS

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions