xml_get_current_line_number

Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Get current line number for an XML parser
<?php xml_get_current_line_number(XMLParser $parser): int
<?php     {

        $a['current_byte_index'] = xml_get_current_byte_index($h);

        $a['current_column_number'] = xml_get_current_column_number($h);

        $a['current_line_number'] = xml_get_current_line_number($h);

        $a['error_code'] = xml_get_error_code($h);



        if (isset(self::XML_ERRORS[$a['error_code']])) {