/php-src/ext/dom/tests/modern/html/parser/ |
H A D | HTMLDocument_parse_options.phpt | 2 Dom\HTMLDocument: loading $options check 33 Dom\HTMLDocument::{$method}("x", $options); 44 Dom\HTMLDocument::createFromString(): Argument #2 ($options) contains invalid flags (allowed flags:… 46 Dom\HTMLDocument::createFromString(): Argument #2 ($options) contains invalid flags (allowed flags:… 48 Dom\HTMLDocument::createFromString(): Argument #2 ($options) contains invalid flags (allowed flags:… 50 Dom\HTMLDocument::createFromString(): Argument #2 ($options) contains invalid flags (allowed flags:… 52 Dom\HTMLDocument::createFromString(): Argument #2 ($options) contains invalid flags (allowed flags:… 54 Dom\HTMLDocument::createFromString(): Argument #2 ($options) contains invalid flags (allowed flags:… 56 Dom\HTMLDocument::createFromString(): Argument #2 ($options) contains invalid flags (allowed flags:… 58 Dom\HTMLDocument::createFromString(): Argument #2 ($options) contains invalid flags (allowed flags:… [all …]
|
H A D | HTMLDocument_fromFile_nul_terminator_cases_path.phpt | 2 Dom\HTMLDocument::createFromFile() - NUL terminator cases path 9 Dom\HTMLDocument::createFromFile("\0"); 14 Dom\HTMLDocument::createFromFile('%00'); 21 Dom\HTMLDocument::createFromFile(): Argument #1 ($path) must not contain any null bytes 22 Dom\HTMLDocument::createFromFile(): Argument #1 ($path) must not contain percent-encoded NUL bytes
|
H A D | HTMLDocument_fromString_parser_warning_02.phpt | 2 Dom\HTMLDocument::createFromString() - parser warning 02 9 $dom = Dom\HTMLDocument::createFromString($html); 14 Warning: Dom\HTMLDocument::createFromString(): tokenizer error unexpected-null-character in Entity,… 16 Warning: Dom\HTMLDocument::createFromString(): tokenizer error missing-whitespace-between-attribute… 18 Warning: Dom\HTMLDocument::createFromString(): tokenizer error incorrectly-opened-comment in Entity… 20 Warning: Dom\HTMLDocument::createFromString(): tokenizer error nested-comment in Entity, line: 7, c… 22 Warning: Dom\HTMLDocument::createFromString(): tree error unexpected-closed-token in Entity, line: … 24 Warning: Dom\HTMLDocument::createFromString(): tree error doctype-token-in-body-mode in Entity, lin…
|
H A D | HTMLDocument_fromFile_local_file_does_not_exist.phpt | 2 Dom\HTMLDocument::createFromFile() - local file that does not exist 8 $dom = Dom\HTMLDocument::createFromFile(__DIR__ . "/../foobar"); 13 Warning: Dom\HTMLDocument::createFromFile(%s): Failed to open stream: No such file or directory in … 17 #0 %s(%d): Dom\HTMLDocument::createFromFile('%s')
|
H A D | HTMLDocument_fromFile_empty_path.phpt | 2 Dom\HTMLDocument::createFromFile() - empty path 8 $dom = Dom\HTMLDocument::createFromFile(""); 14 #0 %s(%d): Dom\HTMLDocument::createFromFile('')
|
H A D | HTMLDocument_fromString_parser_warning_01.phpt | 2 Dom\HTMLDocument::createFromString() - parser warning 01 9 $dom = Dom\HTMLDocument::createFromString($html); 14 Warning: Dom\HTMLDocument::createFromString(): tokenizer error missing-end-tag-name in Entity, line… 16 Warning: Dom\HTMLDocument::createFromString(): tree error unexpected-token-in-initial-mode in Entit…
|
H A D | HTMLDocument_fromFile_local_existing_file.phpt | 2 Dom\HTMLDocument::createFromFile() - local existing file 8 $dom = Dom\HTMLDocument::createFromFile(__DIR__ . "/../../../test.html"); 13 Warning: Dom\HTMLDocument::createFromFile(): tree error unexpected-token-in-initial-mode in %s on l…
|
H A D | HTMLDocument_fromString_empty.phpt | 2 Dom\HTMLDocument::createFromString() - empty document 8 $dom = Dom\HTMLDocument::createFromString('');
|
H A D | HTMLDocument_createFromFile_createFromString_BOM_buffer_edge.phpt | 2 Dom\HTMLDocument::createFromFile()/createFromString() BOM with a buffer on the edge 12 $dom = Dom\HTMLDocument::createFromString($header . str_repeat("a", 4096 - strlen($header) - strlen… 18 $dom = Dom\HTMLDocument::createFromFile(__DIR__ . "/BOM_edge.tmp");
|
H A D | HTMLDocument_fromFile_with_failing_stream_wrapper.phpt | 2 Dom\HTMLDocument::createFromFile() with failing stream wrapper 35 Dom\HTMLDocument::createFromFile("fail://x"); 42 #1 %s(%d): Dom\HTMLDocument::createFromFile('fail://x')
|
H A D | HTMLDocument_fromString_LIBXML_HTML_NOIMPLIED_namespace.phpt | 2 Dom\HTMLDocument::createFromString() with LIBXML_HTML_NOIMPLIED namespace check 10 $dom = Dom\HTMLDocument::createFromString("", LIBXML_HTML_NOIMPLIED | LIBXML_NOERROR); 15 $dom = Dom\HTMLDocument::createFromString("<p>foo</p>", LIBXML_HTML_NOIMPLIED | LIBXML_NOERROR); 22 $dom = Dom\HTMLDocument::createFromString("<p>foo</p><strong>bar</strong>", LIBXML_HTML_NOIMPLIED |…
|
H A D | HTMLDocument_fromString_LIBXML_HTML_NOIMPLIED_error.phpt | 2 Dom\HTMLDocument::createFromString() with LIBXML_HTML_NOIMPLIED - tree error should not happen 8 $dom = Dom\HTMLDocument::createFromString("<div>foo</div>", LIBXML_HTML_NOIMPLIED);
|
/php-src/ext/dom/tests/modern/html/encoding/ |
H A D | HTMLDocument_encoding_unicode_error.phpt | 2 Dom\HTMLDocument loading with unicode codepoints resulting in an error 8 Dom\HTMLDocument::createFromFile(__DIR__."/utf16le_error.html"); 10 Dom\HTMLDocument::createFromString(file_get_contents(__DIR__."/utf16le_error.html")); 15 Warning: Dom\HTMLDocument::createFromFile(): tokenizer error missing-end-tag-name in %s on line %d 17 Warning: Dom\HTMLDocument::createFromFile(): tree error unexpected-token in %s on line %d 19 Warning: Dom\HTMLDocument::createFromFile(): tree error unexpected-token in %s on line %d 22 Warning: Dom\HTMLDocument::createFromString(): tokenizer error missing-end-tag-name in Entity, line… 24 Warning: Dom\HTMLDocument::createFromString(): tree error unexpected-token in Entity, line: 7, colu… 26 Warning: Dom\HTMLDocument::createFromString(): tree error unexpected-token in Entity, line: 8, colu…
|
H A D | HTMLDocument_createFromFile_override_encoding.phpt | 2 Dom\HTMLDocument::createFromFile() with overrideEncoding 9 …Dom\HTMLDocument::createFromFile(__DIR__ . '/gb18030_without_charset.html', overrideEncoding: 'non… 15 $dom = Dom\HTMLDocument::createFromFile(__DIR__ . '/gb18030_without_charset.html', overrideEncoding… 20 $dom = Dom\HTMLDocument::createFromFile(__DIR__ . '/fallback_encoding.html', overrideEncoding: 'Win… 26 Dom\HTMLDocument::createFromFile(): Argument #3 ($overrideEncoding) must be a valid document encodi…
|
H A D | HTMLDocument_createFromString_override_encoding.phpt | 2 Dom\HTMLDocument::createFromString() with overrideEncoding 9 …Dom\HTMLDocument::createFromString(file_get_contents(__DIR__ . '/gb18030_without_charset.html'), o… 15 $dom = Dom\HTMLDocument::createFromString(file_get_contents(__DIR__ . '/gb18030_without_charset.htm… 20 $dom = Dom\HTMLDocument::createFromString(file_get_contents(__DIR__ . '/fallback_encoding.html'), o… 26 Dom\HTMLDocument::createFromString(): Argument #3 ($overrideEncoding) must be a valid document enco…
|
H A D | HTMLDocument_encoding_field_test.phpt | 2 Dom\HTMLDocument test values for encoding field 8 $dom = Dom\HTMLDocument::createEmpty(); 29 $dom = Dom\HTMLDocument::createEmpty("bogus"); 43 Dom\HTMLDocument::createEmpty(): Argument #1 ($encoding) must be a valid document encoding
|
/php-src/ext/dom/tests/modern/html/interactions/ |
H A D | HTMLDocument_saveHTML_wrong_document.phpt | 2 Dom\HTMLDocument::saveHtml() wrong document 8 $dom = Dom\HTMLDocument::createEmpty(); 9 $dom->saveHtml(Dom\HTMLDocument::createEmpty()); 15 #0 %s(%d): Dom\HTMLDocument->saveHtml(Object(Dom\HTMLDocument))
|
H A D | HTMLDocument_saveHTMLFile_empty_path.phpt | 2 Dom\HTMLDocument::saveHtmlFile() empty path 8 $dom = Dom\HTMLDocument::createEmpty(); 14 Fatal error: Uncaught ValueError: Dom\HTMLDocument::saveHtmlFile(): Argument #1 ($filename) must no… 16 #0 %s(%d): Dom\HTMLDocument->saveHtmlFile('')
|
H A D | HTMLDocument_clone.phpt | 2 Cloning a Dom\HTMLDocument 8 $dom = Dom\HTMLDocument::createFromString("<p>foo</p>"); 20 Warning: Dom\HTMLDocument::createFromString(): tree error unexpected-token-in-initial-mode in Entit… 23 string(16) "Dom\HTMLDocument"
|
H A D | HTMLDocument_registerNodeClass_02.phpt | 2 Dom\HTMLDocument::registerNodeClass 02 13 $dom = Dom\HTMLDocument::createEmpty(); 31 string(16) "Dom\HTMLDocument" 33 Fatal error: Uncaught Error: Call to undefined method Dom\HTMLDocument::foo() in %s:%d
|
H A D | HTMLDocument_documentURI.phpt | 2 Dom\HTMLDocument::documentURI 8 $dom = Dom\HTMLDocument::createFromFile(__DIR__ . "/test foo.html", LIBXML_NOERROR); 14 $dom = Dom\HTMLDocument::createFromFile("php://memory"); 40 $dom = Dom\HTMLDocument::createFromFile("dummy://foo/ bar");
|
H A D | HTMLDocument_registerNodeClass_01.phpt | 2 Dom\HTMLDocument::registerNodeClass 01 9 $dom->registerNodeClass("Dom\\HTMLDocument", "DOMDocument"); 13 …Argument #1 ($baseClass) must be a class name derived from DOMNode, Dom\HTMLDocument given in %s:%d
|
/php-src/ext/dom/tests/modern/spec/ |
H A D | Node_baseURI.phpt | 8 $dom = Dom\HTMLDocument::createEmpty(); 12 $dom = Dom\HTMLDocument::createFromFile(__DIR__ . "/../../empty.html", LIBXML_NOERROR); 15 $dom = Dom\HTMLDocument::createFromString(<<<HTML
|
H A D | Element_setAttributeNode_adoption.phpt | 8 $dom1 = Dom\HTMLDocument::createEmpty(); 13 $dom2 = Dom\HTMLDocument::createEmpty(); 26 $dom2 = Dom\HTMLDocument::createEmpty(); 31 $dom2 = Dom\HTMLDocument::createEmpty();
|
/php-src/ext/dom/tests/modern/html/serializer/ |
H A D | HTMLDocument_serialize_comment.phpt | 2 Dom\HTMLDocument serialization of comment 8 $dom = Dom\HTMLDocument::createEmpty();
|