PHPVersionCheck: Properly check for `xml` extension in PHP 7.2+
[lhc/web/wiklou.git] / includes / PHPVersionCheck.php
index 37d4632..e9db1b3 100644 (file)
@@ -30,7 +30,7 @@ class PHPVersionCheck {
        var $mwVersion = '1.31';
        var $functionsExtensionsMapping = array(
                'mb_substr'   => 'mbstring',
-               'utf8_encode' => 'xml',
+               'xml_parser_create' => 'xml',
                'ctype_digit' => 'ctype',
                'json_decode' => 'json',
                'iconv'       => 'iconv',