Test: /ext/dom/tests/bug67081.phpt - Version 7.1.1-dev        

Bug #67081 DOMDocumentType->internalSubset returns entire DOCTYPE tag, not only the subset
Submitted: 2014-04-15 18:45:54 Modified:
From: petrhudecek2010 Assigned:
Status: Closed Package: DOM XML related
PHP Version: 5.5.11 OS: Windows

There is 1 diff reported by users for this test.

Count Diff
4 (100%)
001+ Notice: Undefined property: DOMDocument::$doctype in %s/bug67081.php on line 5
002+
003+ Notice: Trying to get property of non-object in %s/bug67081.php on line 5
004+ NULL
005+
006+ Notice: Undefined property: DOMDocument::$doctype in %s/bug67081.php on line 10
007+
008+ Notice: Trying to get property of non-object in %s/bug67081.php on line 10
009+ NULL
010+
011+ Notice: Undefined property: DOMDocument::$doctype in %s/bug67081.php on line 15
012+
013+ Notice: Trying to get property of non-object in %s/bug67081.php on line 15
014+ NULL
015+
016+ Notice: Undefined property: DOMDocument::$doctype in %s/bug67081.php on line 20
017+
018+ Notice: Trying to get property of non-object in %s/bug67081.php on line 20
001- string(19) "<!ELEMENT a EMPTY>
002- "
003- string(38) "<!ELEMENT a EMPTY>
004- <!ELEMENT b EMPTY>
005- "
007- string(277) "<!ENTITY % incent SYSTEM "dom.ent">
020+ ===DONE===
008- <!ENTITY amp "&#38;#38;">
009- <!ENTITY gt "&#62;">
010- <!ENTITY % coreattrs "title CDATA #IMPLIED">
011- <!ENTITY % attrs "%coreattrs;">
012- <!ATTLIST foo bar CDATA #IMPLIED>
013- <!ELEMENT foo (#PCDATA)>
014- <!ELEMENT root (foo)+>
015- <!ATTLIST th title CDATA #IMPLIED>
016- "
017- ===DONE===