Skip to content

FP: property access from "simplexml_load_string" results is not always true #3965

@voku

Description

@voku

Bug report

Property access from simplexml_load_string results (SimpleXMLElement|false) is not always true.

Code snippet that reproduces the problem

https://phpstan.org/r/52d37b53-6356-4e36-8c81-c036b2298fe1

https://3v4l.org/apPUJ

Expected output

no error

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