mirror of
https://github.com/php/php-src.git
synced 2024-10-16 22:12:33 +00:00
86fed7fac7
DOMComment::__construct() with constructor called twice. DOMDocumentFragment::appendXML() with unbound fragment. DOMDocumentFragment::appendXML() with unbalanced chunks. DOMDocumentFragment::__construct() called twice. DOMDocumentType: basic access to all properties. DOMDocumentType::name with invalid state. DOMDocumentType::entities with invalid state. DOMDocumentType::notations with invalid state. DOMDocumentType::publicId with invalid state. DOMDocumentType::publicId with empty value. DOMDocumentType::systemId with invalid state. DOMDocumentType::systemId with empty value. DOMDocumentType::internalSubset with invalid state.
19 lines
564 B
PHP
19 lines
564 B
PHP
--TEST--
|
|
DOMDocumentFragment::appendXML() with unbound fragment.
|
|
--CREDITS--
|
|
Eric Lee Stewart <ericleestewart@gmail.com>
|
|
# TestFest Atlanta 2009-05-24
|
|
--SKIPIF--
|
|
<?php require_once('skipif.inc'); ?>
|
|
--FILE--
|
|
<?php
|
|
$fragment = new DOMDocumentFragment();
|
|
$fragment->appendXML('<bait>crankbait</bait>');
|
|
$document->appendChild($fragment);
|
|
?>
|
|
--EXPECTF--
|
|
Fatal error: Uncaught exception 'DOMException' with message 'No Modification Allowed Error' in %s:%d
|
|
Stack trace:
|
|
#0 %s(%d): DOMDocumentFragment->appendXML('<bait>crankbait...')
|
|
#1 {main}
|
|
thrown in %s on line %d
|