mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0: fix BC break introduced by #2346 (sebastianbergmann/phpunit#2454)
This commit is contained in:
commit
e6bc4f39a2
2 changed files with 36 additions and 0 deletions
|
@ -1628,6 +1628,9 @@ PHP_FUNCTION(dom_document_savexml)
|
|||
|
||||
doc_props = dom_get_doc_props(intern->document);
|
||||
format = doc_props->formatoutput;
|
||||
if (format) {
|
||||
options = options | XML_SAVE_FORMAT;
|
||||
}
|
||||
|
||||
buf = xmlBufferCreate();
|
||||
if (!buf) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue