1
0
mirror of https://github.com/php/php-src.git synced 2026-04-25 08:58:28 +02:00
Files
archived-php-src/ext/dom/tests/DOMDocumentFragment_construct_basic_002.phpt
T
Máté Kocsis a5e938dc86 Declare dynamic properties in ext/dom
Closes GH-6644
2021-05-18 15:12:35 +02:00

23 lines
406 B
PHP

--TEST--
DOMDocumentFragment::__construct() called twice.
--CREDITS--
Eric Lee Stewart <ericleestewart@gmail.com>
# TestFest Atlanta 2009-05-24
--EXTENSIONS--
dom
--FILE--
<?php
$fragment = new DOMDocumentFragment();
$fragment->__construct();
var_dump($fragment);
?>
--EXPECT--
object(DOMDocumentFragment)#1 (3) {
["nodeValue"]=>
NULL
["prefix"]=>
string(0) ""
["textContent"]=>
string(0) ""
}