xref: /php-src/ext/dom/tests/bug79271.phpt (revision bd9f4fa6)
1--TEST--
2Bug #79271 (DOMDocumentType::$childNodes is NULL)
3--EXTENSIONS--
4dom
5--FILE--
6<?php
7$dom = new DOMImplementation();
8$type = $dom->createDocumentType('html');
9var_dump($type->childNodes);
10?>
11--EXPECTF--
12object(DOMNodeList)#%d (1) {
13  ["length"]=>
14  int(0)
15}
16