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