Php/docs/xml.resources
From Get docs
Resource Types
Prior to PHP 8.0.0, the xml
resource as returned by
xml_parser_create() and
xml_parser_create_ns() referenced an xml
parser instance to be used with the functions provided by this
extension.
Prior to PHP 8.0.0, the xml
resource as returned by
xml_parser_create() and
xml_parser_create_ns() referenced an xml
parser instance to be used with the functions provided by this
extension.