/php-src/ext/dom/tests/modern/common/ |
H A D | Document_title_getter.phpt | 13 $dom = Dom\XMLDocument::createFromString("<root xmlns=\"http://www.w3.org/1999/xhtml\"><title> onl… 16 $dom = Dom\XMLDocument::createFromString("<root xmlns=\"http://www.w3.org/1999/xhtml\"><title>only … 22 $dom = Dom\XMLDocument::createFromString("<title xmlns=\"http://www.w3.org/1999/xhtml\">title</titl… 25 $dom = Dom\XMLDocument::createFromString("<root xmlns=\"http://www.w3.org/1999/xhtml\"><title> abc… 28 $dom = Dom\XMLDocument::createFromString("<root xmlns=\"http://www.w3.org/1999/xhtml\"><title></tit… 31 $dom = Dom\XMLDocument::createFromString("<root xmlns=\"http://www.w3.org/1999/xhtml\"></root>"); 34 $dom = Dom\XMLDocument::createFromString("<root xmlns=\"http://www.w3.org/1999/xhtml\"><title> \t\… 43 $dom = Dom\XMLDocument::createFromString("<root xmlns=\"http://www.w3.org/1999/xhtml\"><title>title… 46 $dom = Dom\XMLDocument::createFromString("<root xmlns=\"http://www.w3.org/1999/xhtml\"><title/></ro… 52 $dom = Dom\XMLDocument::createFromString("<root xmlns=\"http://www.w3.org/1999/xhtml\"><title>title… [all …]
|
H A D | Document_title_setter.phpt | 10 $dom = Dom\XMLDocument::createFromString('<root xmlns="http://www.w3.org/2000/svg"/>'); 14 $dom = Dom\XMLDocument::createFromString('<svg xmlns="http://www.w3.org/2000/svg"/>'); 22 $dom = Dom\XMLDocument::createFromString('<svg:svg xmlns:svg="http://www.w3.org/2000/svg"/>'); 27 $dom = Dom\XMLDocument::createFromString('<svg xmlns="http://www.w3.org/2000/svg">first node<div/><… 36 $dom = Dom\XMLDocument::createFromString('<root xmlns="http://www.w3.org/1999/xhtml"/>'); 40 $dom = Dom\XMLDocument::createFromString('<html xmlns="http://www.w3.org/1999/xhtml"/>'); 44 $dom = Dom\XMLDocument::createFromString('<html xmlns="http://www.w3.org/1999/xhtml"><foo/><head/><… 48 $dom = Dom\XMLDocument::createFromString('<html xmlns="http://www.w3.org/1999/xhtml"><head><?ignore… 52 $dom = Dom\XMLDocument::createFromString('<html xmlns="http://www.w3.org/1999/xhtml"><head><?ignore… 58 $dom = Dom\XMLDocument::createEmpty(); [all …]
|
/php-src/ext/dom/tests/modern/xml/ |
H A D | XMLDocument_fromString_01.phpt | 2 Dom\XMLDocument::createFromString 01 8 Dom\XMLDocument::createFromString(""); 12 Fatal error: Uncaught ValueError: Dom\XMLDocument::createFromString(): Argument #1 ($source) must n… 14 #0 %s(%d): Dom\XMLDocument::createFromString('')
|
H A D | XMLDocument_fromFile_01.phpt | 2 Dom\XMLDocument::createFromFile 01 8 Dom\XMLDocument::createFromString(""); 12 Fatal error: Uncaught ValueError: Dom\XMLDocument::createFromString(): Argument #1 ($source) must n… 14 #0 %s(%d): Dom\XMLDocument::createFromString('')
|
H A D | XMLDocument_fromEmptyDocument_01.phpt | 2 Dom\XMLDocument::createEmpty 01 8 Dom\XMLDocument::createEmpty(encoding: "foo"); 12 Fatal error: Uncaught ValueError: Dom\XMLDocument::createEmpty(): Argument #2 ($encoding) is not a … 14 #0 %s(%d): Dom\XMLDocument::createEmpty('1.0', 'foo')
|
H A D | XMLDocument_fromFile_02.phpt | 2 Dom\XMLDocument::createFromFile 02 8 Dom\XMLDocument::createFromFile("\\0"); 12 Warning: Dom\XMLDocument::createFromFile(): I/O %s : failed to load %s 16 #0 %s(%d): Dom\XMLDocument::createFromFile('\\0')
|
H A D | XMLDocument_createFromString_override_encoding.phpt | 2 Dom\XMLDocument::createFromString() with overrideEncoding 9 …Dom\XMLDocument::createFromString(file_get_contents(__DIR__ . '/dummy.xml'), overrideEncoding: 'no… 15 $dom = Dom\XMLDocument::createFromString(file_get_contents(__DIR__ . '/dummy.xml'), overrideEncodin… 20 $dom = Dom\XMLDocument::createFromString(file_get_contents(__DIR__ . '/dummy.xml'), overrideEncodin… 26 Dom\XMLDocument::createFromString(): Argument #3 ($overrideEncoding) must be a valid document encod…
|
H A D | XMLDocument_createFromFile_override_encoding.phpt | 2 Dom\XMLDocument::createFromFile() with overrideEncoding 9 Dom\XMLDocument::createFromFile(__DIR__ . '/dummy.xml', overrideEncoding: 'nonexistent'); 15 $dom = Dom\XMLDocument::createFromFile(__DIR__ . '/dummy.xml', overrideEncoding: 'UTF-8'); 20 $dom = Dom\XMLDocument::createFromFile(__DIR__ . '/dummy.xml', overrideEncoding: 'Windows-1252'); 26 Dom\XMLDocument::createFromFile(): Argument #3 ($overrideEncoding) must be a valid document encoding
|
H A D | XMLDocument_fromString_03.phpt | 2 Dom\XMLDocument::createFromString 03 13 Dom\XMLDocument::createFromString('<?xml version="1.0"?><container/>', -1); 19 …var_dump(Dom\XMLDocument::createFromString('<?xml version="1.0"?><container/>', $flag) instanceof … 24 Dom\XMLDocument::createFromString(): Argument #2 ($options) contains invalid flags (allowed flags: …
|
H A D | XMLDocument_createFromFile_empty_input.phpt | 2 XMLDocument::createFromFile() - empty input 7 $dom = Dom\XMLDocument::createFromFile("php://memory"); 12 Warning: Dom\XMLDocument::createFromFile(): Document is empty in php://memory, line: 1 in %s on lin… 16 #0 %s(%d): Dom\XMLDocument::createFromFile('php://memory')
|
H A D | XMLDocument_fromFile_03.phpt | 2 Dom\XMLDocument::createFromFile 03 9 Dom\XMLDocument::createFromFile("%00"); 16 Dom\XMLDocument::createFromFile(): Argument #1 ($path) must not contain percent-encoded NUL bytes
|
H A D | XMLDocument_node_ownerDocument_for_XML.phpt | 2 Dom\XMLDocument getting ownerDocument from a node in an XML document should yield a Dom\XMLDocument 8 $dom = Dom\XMLDocument::createFromString('<?xml version="1.0"?><container/>'); 16 object(Dom\XMLDocument)#1 (32) {
|
H A D | XMLDocument_fromEmptyDocument_03.phpt | 2 Dom\XMLDocument::createEmpty 03 8 $dom = Dom\XMLDocument::createEmpty("1.0", "ASCII");
|
H A D | XMLDocument_documentURI.phpt | 2 Dom\XMLDocument::documentURI 8 $dom = Dom\XMLDocument::createFromFile(__DIR__ . "/test foo.xml", LIBXML_NOERROR);
|
H A D | XMLDocument_debug.phpt | 2 Dom\XMLDocument debug 8 $dom = Dom\XMLDocument::createEmpty(); 13 object(Dom\XMLDocument)#1 (32) {
|
H A D | XMLDocument_fromEmptyDocument_02.phpt | 2 Dom\XMLDocument::createEmpty 02 8 $dom = Dom\XMLDocument::createEmpty("1.1"); 13 object(Dom\XMLDocument)#1 (32) {
|
H A D | XMLDocument_saveXML_node.phpt | 2 Dom\XMLDocument::saveXml(File) node 8 $dom = Dom\XMLDocument::createEmpty("1.0", "ASCII");
|
H A D | XMLDocument_fromString_02.phpt | 2 Dom\XMLDocument::createFromString 02 8 $dom = Dom\XMLDocument::createFromString('<?xml version="1.0"?><container/>');
|
H A D | XMLDocument_fromString_04.phpt | 2 Dom\XMLDocument::createFromString 04 12 $dom = Dom\XMLDocument::createFromString('<?xml version="1.0" encoding="Windows-1251"?><container/>…
|
H A D | XMLDocument_fromFile_04.phpt | 2 Dom\XMLDocument::createFromFile 04 8 $dom = Dom\XMLDocument::createFromFile(__DIR__."/../../book.xml");
|
H A D | XMLDocument_xpath_errors.phpt | 2 Dom\XMLDocument interaction with XPath evaluate - errors 8 $dom = Dom\XMLDocument::createFromString('<root/>');
|
/php-src/ext/dom/tests/ |
H A D | gh16190.phpt | 8 $doc = Dom\XMLDocument::createEmpty(); 18 Cannot directly construct Dom\XMLDocument, use document methods instead
|
H A D | xml_parsing_LIBXML_RECOVER.phpt | 12 $dom = Dom\XMLDocument::createFromString('<root><child/>', options: LIBXML_RECOVER); 21 Warning: Dom\XMLDocument::createFromString(): %s
|
/php-src/ext/xsl/tests/ |
H A D | XSLTProcessor_namespace_mapper_lifetime.phpt | 9 $input = Dom\XMLDocument::createFromString(<<<XML 29 $processor->importStylesheet(Dom\XMLDocument::createFromString($xslXML)); 30 $processor->importStylesheet(Dom\XMLDocument::createFromString($xslXML));
|
/php-src/ext/dom/tests/modern/spec/ |
H A D | XMLDocument_version.phpt | 2 XMLDocument::$version 8 $dom = Dom\XMLDocument::createFromString('<root><child/></root>');
|