wip
This commit is contained in:
@@ -184,7 +184,10 @@ class AtomParser {
|
||||
}
|
||||
fclose($fp);
|
||||
|
||||
xml_parser_free($parser);
|
||||
if (PHP_VERSION_ID < 80000) { // xml_parser_free() has no effect as of PHP 8.0.
|
||||
xml_parser_free($parser);
|
||||
}
|
||||
|
||||
unset($parser);
|
||||
|
||||
restore_error_handler();
|
||||
|
||||
Reference in New Issue
Block a user