[PHP-BUG] Bug #71235 [NEW]: Big Files - wrong Line Number with libxml_get_errors
[email protected] ("michihendrich at gmail dot com")
| Newsgroups | php.bugs |
|---|---|
| Message-ID | <[email protected]> |
From: michihendrich at gmail dot com Operating system: mac os 10.11.2 PHP version: 7.0.1 Package: *XML functions Bug Type: Bug Bug description:Big Files - wrong Line Number with libxml_get_errors Description: ------------ When using the function libxml_get_errors() with files bigger than 65535 lines - i got always the line number 65535 when an error in a line occured with a line number higher then 65535. Under line number 65535 the correct line number is shown. Test script: --------------- http://php.net/manual/de/function.libxml-get-errors.php Expected result: ---------------- The line number of the line where the error occured. Actual result: -------------- The wrong line number (65535) is shown. -- Edit bug report at https://bugs.php.net/bug.php?id=71235&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=71235&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=71235&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=71235&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=71235&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=71235&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=71235&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=71235&r=needscript Try newer version: https://bugs.php.net/fix.php?id=71235&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=71235&r=support Expected behavior: https://bugs.php.net/fix.php?id=71235&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=71235&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=71235&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=71235&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=71235&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=71235&r=dst IIS Stability: https://bugs.php.net/fix.php?id=71235&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=71235&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=71235&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=71235&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=71235&r=mysqlcfg