1--TEST-- 2DOMDocumentType::internalSubset with invalid state. 3--CREDITS-- 4Eric Lee Stewart <ericleestewart@gmail.com> 5# TestFest Atlanta 2009-05-25 6--EXTENSIONS-- 7dom 8--FILE-- 9<?php 10$doctype = new DOMDocumentType(); 11try { 12 $doctype->internalSubset; 13} catch (DOMException $exception) { 14 echo $exception->getMessage() . "\n"; 15} 16?> 17--EXPECT-- 18Invalid State Error 19