The old method for converting XML to an array involved using XML syntax parsing functions, such as **xml_parser_create**, **xml_parser_set_option**, and **xml_parse_into_struct**. This approach was more complex to implement but had the advantage of being compatible with PHP 4.