File tree Expand file tree Collapse file tree 3 files changed +2
-9
lines changed Expand file tree Collapse file tree 3 files changed +2
-9
lines changed Original file line number Diff line number Diff line change @@ -60,6 +60,8 @@ PHP 8.6 INTERNALS UPGRADE NOTES
6060- ext/xml:
6161 . Removed the XML_ExpatVersion() libxml compatibility wrapper,
6262 as it was unused.
63+ . Removed the XML_GetCurrentByteCount() libxml compatibility wrapper,
64+ as it was unused and could return the wrong result.
6365
6466========================
65674. OpCode changes
Original file line number Diff line number Diff line change @@ -644,14 +644,6 @@ XML_GetCurrentByteIndex(XML_Parser parser)
644644 (parser -> parser -> input -> cur - parser -> parser -> input -> base );
645645}
646646
647- PHP_XML_API int
648- XML_GetCurrentByteCount (XML_Parser parser )
649- {
650- /* TODO: this is identical to ByteIndex; it should probably
651- * be different */
652- return (int ) XML_GetCurrentByteIndex (parser );
653- }
654-
655647PHP_XML_API void
656648XML_ParserFree (XML_Parser parser )
657649{
Original file line number Diff line number Diff line change @@ -147,7 +147,6 @@ PHP_XML_API const XML_Char *XML_ErrorString(int);
147147PHP_XML_API int XML_GetCurrentLineNumber (XML_Parser );
148148PHP_XML_API int XML_GetCurrentColumnNumber (XML_Parser );
149149PHP_XML_API long XML_GetCurrentByteIndex (XML_Parser );
150- PHP_XML_API int XML_GetCurrentByteCount (XML_Parser );
151150PHP_XML_API void XML_ParserFree (XML_Parser );
152151
153152#elif defined(HAVE_LIBEXPAT )
You can’t perform that action at this time.
0 commit comments