#107299Remove `xml_parser_free` and `imagedestroy()`function calls
Description
Following function calls has been deprecated with PHP8.5 as
they has no effect since PHP8.0:
- `xml_parser_free()`
- `imagedestroy()`
From [1]:
- xml_parser_create() and xml_parser_create_ns() will now return an XMLParser
object rather than a resource. The xml_parser_free() function no longer has
an effect, instead the XMLParser instance is automatically destroyed if it
is no longer referenced.
- The GD extension now uses GdImage objects as the underlying data structure
for images, rather than resources. The imagedestroy() function no longer
has an effect; instead the GdImage instance is automatically destroyed
if it is no longer referenced.
[1] https://www.php.net/manual/en/migration80.incompatible.php
Reviews 3
History 310
-
Stefan Bürk changed description 08/16/25, 11:48
-
Gerrit Code Review pushed patch set 1 for main to change 90420 status
NewUnder Review 08/16/25, 13:18 -
Gerrit Code Review pushed patch set 2 for main to change 90420 08/16/25, 13:21
-
Gerrit Code Review pushed patch set 1 for 13.4 to change 90421 08/16/25, 13:21
-
Gerrit Code Review pushed patch set 1 for 12.4 to change 90422 08/16/25, 13:31
-
Gerrit Code Review pushed patch set 3 for main to change 90420 08/16/25, 16:14
-
Gerrit Code Review pushed patch set 2 for 12.4 to change 90422 08/16/25, 16:14
-
Gerrit Code Review pushed patch set 2 for 13.4 to change 90421 08/16/25, 16:15
-
Stefan Bürk commented and changed status
Under ReviewResolved done0 %100 % 08/17/25, 22:35 -
Benni Mack changed status
ResolvedClosed 12/02/25, 13:58
Applied in changeset commit:608c97671ec5ddf84c8ec7ebc4e8356eb6ea5ad4.