[php-src] PR #14198: Add a way to set a custom serialization algorithm for XML and refactor serialization

From: Date: Fri, 10 May 2024 23:46:19 +0000
Subject: [php-src] PR #14198: Add a way to set a custom serialization algorithm for XML and refactor serialization
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-26109@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/14198 Author: nielsdos There are multiple algorithms to serialize an XML document. This may cause a problem: if we import a DOM document into SimpleXML, we may get different serializations between the two. This should be consistent. To solve this, we add a php_libxml_document_handlers function table that can set custom handlers for serialization. A reference to that table is stored within the internal document object. Also factor out all the common serialization code, which in itself is a cleanup and preparation for a memory+performance optimization.

« previous php.git-pulls (#26109) next »