xml_get_current_byte_index

Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Get current byte index for an XML parser
<?php xml_get_current_byte_index(XMLParser $parser): int
<?php     public static function castXml($h, array $a, Stub $stub, bool $isNested)

    {

        $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);