Annotation of embedaddon/php/ext/dom/tests/DOMDocumentType_systemId_basic_001.phpt, revision 1.1.1.1
1.1 misho 1: --TEST--
2: DOMDocumentType::systemId with empty value.
3: --CREDITS--
4: Eric Lee Stewart <ericleestewart@gmail.com>
5: # TestFest Atlanta 2009-05-25
6: --SKIPIF--
7: <?php require_once('skipif.inc'); ?>
8: --FILE--
9: <?php
10: $xml = '<?xml version="1.0" encoding="UTF-8" ?>';
11: $xml .= '<!DOCTYPE chapter>';
12: $xml .= '<chapter>1</chapter>';
13: $doc = new DOMDocument();
14: $doc->loadXML($xml);
15: $doctype = $doc->doctype;
16: var_dump($doctype->systemId);
17: ?>
18: --EXPECT--
19: string(0) ""
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>