Home
last modified time | relevance | path

Searched refs:createFromFile (Results 1 – 25 of 45) sorted by relevance

12

/php-src/ext/dom/tests/modern/html/parser/
H A DHTMLDocument_fromFile_nul_terminator_cases_path.phpt2 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 DHTMLDocument_parse_options.phpt28 foreach (["createFromString", "createFromFile"] as $method) {
75 --- Method createFromFile ---
77 Dom\HTMLDocument::createFromFile(): Argument #2 ($options) contains invalid flags (allowed flags: L…
79 Dom\HTMLDocument::createFromFile(): Argument #2 ($options) contains invalid flags (allowed flags: L…
81 Dom\HTMLDocument::createFromFile(): Argument #2 ($options) contains invalid flags (allowed flags: L…
83 Dom\HTMLDocument::createFromFile(): Argument #2 ($options) contains invalid flags (allowed flags: L…
85 Dom\HTMLDocument::createFromFile(): Argument #2 ($options) contains invalid flags (allowed flags: L…
87 Dom\HTMLDocument::createFromFile(): Argument #2 ($options) contains invalid flags (allowed flags: L…
89 Dom\HTMLDocument::createFromFile(): Argument #2 ($options) contains invalid flags (allowed flags: L…
91 Dom\HTMLDocument::createFromFile(): Argument #2 ($options) contains invalid flags (allowed flags: L…
[all …]
H A DHTMLDocument_fromFile_local_file_does_not_exist.phpt2 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 DHTMLDocument_fromFile_empty_path.phpt2 Dom\HTMLDocument::createFromFile() - empty path
8 $dom = Dom\HTMLDocument::createFromFile("");
14 #0 %s(%d): Dom\HTMLDocument::createFromFile('')
H A DHTMLDocument_fromFile_local_existing_file.phpt2 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 DHTMLDocument_fromFile_with_failing_stream_wrapper.phpt2 Dom\HTMLDocument::createFromFile() with failing stream wrapper
35 Dom\HTMLDocument::createFromFile("fail://x");
42 #1 %s(%d): Dom\HTMLDocument::createFromFile('fail://x')
H A DHTMLDocument_fromFile_DOM_HTML_NO_DEFAULT_NS.phpt2 Dom\HTMLDocument::createFromFile() with Dom\HTML_NO_DEFAULT_NS
8 $dom = Dom\HTMLDocument::createFromFile(__DIR__ . "/paragraph.html", LIBXML_HTML_NOIMPLIED | LIBXML…
14 $dom = Dom\HTMLDocument::createFromFile(__DIR__ . "/paragraph.html", LIBXML_HTML_NOIMPLIED | LIBXML…
H A DHTMLDocument_fromFile_parser_warning_03.phpt2 Dom\HTMLDocument::createFromFile() - parser warning 03
8 $dom = Dom\HTMLDocument::createFromFile(__DIR__."/parser_warning_03.html", LIBXML_NOERROR);
H A DHTMLDocument_fromFile_with_working_stream_wrapper.phpt2 Dom\HTMLDocument::createFromFile() with working stream wrapper
37 $dom = Dom\HTMLDocument::createFromFile("euw://<p>hello</p>");
44 $dom = Dom\HTMLDocument::createFromFile("euw://<!doctype html><html>" . str_repeat("\n", 4096-22) .…
55 Warning: Dom\HTMLDocument::createFromFile(): tree error unexpected-token-in-initial-mode in euw://<…
H A DHTMLDocument_fromFile_parser_warning_02.phpt2 Dom\HTMLDocument::createFromFile() - parser warning 02
8 $dom = Dom\HTMLDocument::createFromFile(__DIR__."/parser_warning_02.html", LIBXML_NOERROR);
H A DHTMLDocument_fromFile_parser_warning_01.phpt2 Dom\HTMLDocument::createFromFile() - parser warning 01
8 $dom = Dom\HTMLDocument::createFromFile(__DIR__."/parser_warning_01.html", LIBXML_NOERROR);
H A DHTMLDocument_fromFile_parser_warning_libxml_get_last_error.phpt2 Dom\HTMLDocument::createFromFile() - parser warning libxml_get_last_error()
11 $dom = Dom\HTMLDocument::createFromFile(__DIR__."/parser_warning_01.html");
H A DHTMLDocument_createFromFile_createFromString_BOM_buffer_edge.phpt2 Dom\HTMLDocument::createFromFile()/createFromString() BOM with a buffer on the edge
18 $dom = Dom\HTMLDocument::createFromFile(__DIR__ . "/BOM_edge.tmp");
/php-src/ext/dom/tests/modern/xml/
H A DXMLDocument_fromFile_02.phpt2 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 DXMLDocument_createFromFile_override_encoding.phpt2 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 DXMLDocument_createFromFile_empty_input.phpt2 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 DXMLDocument_fromFile_03.phpt2 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 DXMLDocument_fromFile_04.phpt2 Dom\XMLDocument::createFromFile 04
8 $dom = Dom\XMLDocument::createFromFile(__DIR__."/../../book.xml");
H A DXMLDocument_documentURI.phpt8 $dom = Dom\XMLDocument::createFromFile(__DIR__ . "/test foo.xml", LIBXML_NOERROR);
H A DXMLDocument_fromFile_01.phpt2 Dom\XMLDocument::createFromFile 01
/php-src/ext/dom/tests/modern/html/encoding/
H A DHTMLDocument_encoding_unicode_error.phpt7 echo "--- createFromFile ---\n";
8 Dom\HTMLDocument::createFromFile(__DIR__."/utf16le_error.html");
13 --- createFromFile ---
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
H A DHTMLDocument_createFromFile_override_encoding.phpt2 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 DHTMLDocument_fallback_encoding.phpt8 $dom = Dom\HTMLDocument::createFromFile(__DIR__ . "/fallback_encoding.html");
/php-src/ext/dom/tests/modern/html/interactions/
H A DHTMLDocument_documentURI.phpt8 $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");
/php-src/ext/dom/tests/modern/spec/
H A DNode_baseURI.phpt12 $dom = Dom\HTMLDocument::createFromFile(__DIR__ . "/../../empty.html", LIBXML_NOERROR);

Completed in 21 milliseconds

12