Commit d998a791daf for php.net

commit d998a791daf4d540f6f1e4dc2211e23ee14f81f9
Merge: 50abef95bd8 aa823713583
Author: Niels Dossche <7771979+ndossche@users.noreply.github.com>
Date:   Wed Dec 3 22:17:30 2025 +0100

    Merge branch 'PHP-8.5'

    * PHP-8.5:
      xml: Fix deprecation properly by backporting the modern-but-actually-old implementation