From 6384352347c51f3b91c6ccc5e671e98b519ddc84 Mon Sep 17 00:00:00 2001 From: Niels Dossche <7771979+nielsdos@users.noreply.github.com> Date: Wed, 26 Jul 2023 18:15:51 +0200 Subject: [PATCH 1/3] Document LIBXML_NOXMLDECL support --- reference/dom/domdocument/savexml.xml | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/reference/dom/domdocument/savexml.xml b/reference/dom/domdocument/savexml.xml index 740181fc7124..a3d20f6ccbb3 100644 --- a/reference/dom/domdocument/savexml.xml +++ b/reference/dom/domdocument/savexml.xml @@ -37,7 +37,8 @@ options - Additional Options. Currently only LIBXML_NOEMPTYTAG is supported. + Additional Options. Currently only LIBXML_NOEMPTYTAG is supported for PHP 8.2 and below. + Starting from PHP 8.3, LIBXML_NOXMLDECL is also supported. @@ -114,6 +115,27 @@ Saving only the title part: + + &reftitle.changelog; + + + + + &Version; + &Description; + + + + + 8.3.0 + + LIBXML_NOXMLDECL is now supported. + + + + + + &reftitle.seealso; From bd4b82199f02668d3d3cc5dd729a99d75de2f014 Mon Sep 17 00:00:00 2001 From: Niels Dossche <7771979+nielsdos@users.noreply.github.com> Date: Sat, 29 Jul 2023 21:10:39 +0200 Subject: [PATCH 2/3] Update reference/dom/domdocument/savexml.xml Co-authored-by: George Peter Banyard --- reference/dom/domdocument/savexml.xml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/reference/dom/domdocument/savexml.xml b/reference/dom/domdocument/savexml.xml index a3d20f6ccbb3..06e8b44d18c6 100644 --- a/reference/dom/domdocument/savexml.xml +++ b/reference/dom/domdocument/savexml.xml @@ -37,8 +37,11 @@ options - Additional Options. Currently only LIBXML_NOEMPTYTAG is supported for PHP 8.2 and below. - Starting from PHP 8.3, LIBXML_NOXMLDECL is also supported. + Additional Options. + The LIBXML_NOEMPTYTAG + and LIBXML_NOXMLDECL options are supported. + Prior to PHP 8.3.0, only the LIBXML_NOEMPTYTAG + option is supported. From 29bd690e1bfe010a6ff8f9de1a042f461e8095d3 Mon Sep 17 00:00:00 2001 From: Niels Dossche Date: Sat, 29 Jul 2023 21:16:19 +0200 Subject: [PATCH 3/3] Reorder changelog --- reference/dom/domdocument/savexml.xml | 43 ++++++++++++++------------- 1 file changed, 22 insertions(+), 21 deletions(-) diff --git a/reference/dom/domdocument/savexml.xml b/reference/dom/domdocument/savexml.xml index 06e8b44d18c6..3b54b8cbbf87 100644 --- a/reference/dom/domdocument/savexml.xml +++ b/reference/dom/domdocument/savexml.xml @@ -71,6 +71,28 @@ + + &reftitle.changelog; + + + + + &Version; + &Description; + + + + + 8.3.0 + + LIBXML_NOXMLDECL is now supported. + + + + + + + &reftitle.examples; @@ -118,27 +140,6 @@ Saving only the title part: - - &reftitle.changelog; - - - - - &Version; - &Description; - - - - - 8.3.0 - - LIBXML_NOXMLDECL is now supported. - - - - - - &reftitle.seealso;