Skip to content

dom: Element::$substitutedNodeValue test failed #15331

Closed
@jtojnar

Description

@jtojnar

Description

Trying to package PHP 8.4 for testing on NixOS, when building the dom extension, I get the following failed test:

Element::$substitutedNodeValue [tests/modern/extensions/Element_substitutedNodeValue.phpt]

Looks like the tests is newly added in #14754

ext/dom/tests/modern/extensions/Element_substitutedNodeValue.out

string(1) "1"
NULL
<?xml version="1.0" encoding="UTF-8"?>
<root>1</root>
string(2) "<>"
NULL
<?xml version="1.0" encoding="UTF-8"?>
<root>&lt;&gt;</root>
string(0) ""
NULL
<?xml version="1.0" encoding="UTF-8"?>
<root/>

ext/dom/tests/modern/extensions/Element_substitutedNodeValue.diff

--
     string(0) ""
     NULL
     <?xml version="1.0" encoding="UTF-8"?>
012- <root></root>
012+ <root/>

PHP Version

8.4.0alpha4

libxml2 version

2.13.3

Operating System

NixOS

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions