xml_error_string
symfony/var-dumper
Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Get XML parser error string
<?php xml_error_string
(
int $error_code
): ?
string