Home
last modified time | relevance | path

Searched refs:body (Results 1 – 25 of 216) sorted by relevance

123456789

/PHP-8.2/ext/dom/tests/modern/html/parser/
H A DHTMLDocument_fromString_fromFile_LIBXML_HTML_NOIMPLIED.phpt26 test("<body><p>foo</p></body>");
31 test("<head><title>x</title></head><body><p>foo</p></body>");
36 test("<html><!-- foo --><body>hi</body></html>");
40 test("<!-- start --><body><head><html>foo</html></head></body><!-- end -->");
58 Testing: <body><p>foo</p></body>
59 <body><p>foo</p></body>
69 Testing: <head><title>x</title></head><body><p>foo</p></body>
70 <head><title>x</title></head><body><p>foo</p></body>
80 Testing: <html><!-- foo --><body>hi</body></html>
81 <html><!-- foo --><body>hi</body></html>
[all …]
H A Dxml_style_namespace.phpt14 <body xmlns:foo="urn:hi">
16 </body>
22 foreach ($xpath->query("//*[name()='body']//*") as $node) {
44 <body xmlns:foo="urn:hi">
47 </body></html>
54 <body xmlns:foo="urn:hi">
57 </body></html>
H A DHTMLDocument_fromString_old_dtd.phpt13 <body>
14 </body>
29 <body>
31 </body></html>
37 <body>
39 </body></html>
H A DHTMLDocument_fromString_without_body.phpt2 DOM\HTMLDocument::createFromString() - document without body
13 <!DOCTYPE html><html><head></head><body><p align="'">foo '</p></body></html>
/PHP-8.2/ext/standard/tests/http/
H A Dgh11274.phpt39 method: POST; body: hello=world
41 method: POST; body: hello=world
44 method: GET; body:
45 method: GET; body:
46 method: GET; body:
47 method: GET; body:
49 method: GET; body:
50 method: GET; body:
51 method: GET; body:
52 method: GET; body:
[all …]
/PHP-8.2/ext/dom/tests/
H A Dgh11625.phpt10 <body>
53 <body>
55 </body>
56 <body>
58 </body>
60 <body>
62 </body>
63 <body>
65 </body>
67 <body>
[all …]
H A DDOMNode_DOMNameSpaceNode_parentElement.phpt12 <body/>
16 echo "--- body test ---\n";
18 $body = $dom->documentElement->firstElementChild;
19 var_dump($body->parentNode->localName);
20 var_dump($body->parentElement->localName);
38 $body->appendChild($fragment);
45 --- body test ---
56 string(4) "body"
57 string(4) "body"
H A Dbug69679.phpt8 … "<!DOCTYPE html><html><head><meta charset='UTF-8'></head><body>U+0000 <span>\x0</span></body></ht…
14 <html><head><meta charset="UTF-8"></head><body>U+0000 <span></span></body></html>
H A DDOMDocument_loadHTML_basic.phpt11 $doc->loadHTML("<html><body><p>Test<br></p></body></html>");
16 <html><body><p>Test<br></p></body></html>
H A Dbug77686.phpt9 $doc->loadHTML('<html id="htmlelement"><body id="x">before<div id="y">hello</div>after</body></html…
10 $body = $doc->getElementById('x');
15 $body->removeChild($div);
19 $body->appendChild($div);
30 $body->appendChild($new_element);
H A Dgh11289.phpt11 <body>
13 </body>
30 string(55) "<!DOCTYPE HTML><html><body> <p>Hi!</p></body></html>"
H A DDOMNode_DOMNameSpaceNode_isConnected.phpt9 $dom->loadXML('<!DOCTYPE html><html><head/><body/></html>');
13 $body = $head->nextSibling;
22 $body->appendChild($p);
23 var_dump($body->isConnected);
31 $body->remove();
34 var_dump($body->isConnected);
H A DDOMDocument_validate_basic.phpt12 <!ELEMENT note (to,from,heading,body)>
16 <!ELEMENT body (#PCDATA)>
22 <body>Don't forget me this weekend</body>
H A Dgh11290.phpt10 <body>
12 </body>
29 string(67) "<!DOCTYPE HTML><html><body> <p>Loremipsumdolor</p></body></html>"
/PHP-8.2/ext/dom/tests/modern/html/interactions/
H A Dnoscript.phpt10 …M\HTMLDocument::createFromString("<!doctype html><html><body><noscript><p>hi</p></noscript></body>…
33 <!DOCTYPE html><html><head></head><body><noscript><p>hi</p></noscript></body></html>
36 <html><head/><body><noscript><p>hi</p></noscript></body></html>
38 <!DOCTYPE html><html><head></head><body><noscript>&lt;p&gt;bye&lt;/p&gt;</noscript></body></html>
41 <html><head/><body><noscript>&lt;p&gt;bye&lt;/p&gt;</noscript></body></html>
43 <!DOCTYPE html><html><head></head><body><noscript>&lt;!-- &lt;/noscript&gt; --&gt;</noscript></body
46 <html><head/><body><noscript>&lt;!-- &lt;/noscript&gt; --&gt;</noscript></body></html>
H A DHTMLDocument_adopt_DOMDocument.phpt14 <body>
15 </body>
28 <body>
29 </body>
/PHP-8.2/ext/tidy/tests/
H A D028.phpt7 $x = tidy_parse_string("<body><div>Content</div></body>");
8 var_dump($x->body()->child[0]->name);
9 var_dump($x->body()->child[0]->getParent()->name);
14 string(4) "body"
H A D010.phpt2 Accessing root, body, html, and head nodes..
9 var_dump($a->body());
22 </body>
48 </body>
117 </body>
120 string(4) "body"
148 </body>
151 string(4) "body"
179 </body>
248 </body>
[all …]
H A D011.phpt8 $body = $a->body();
9 var_dump($body->attribute);
10 foreach($body->attribute as $key=>$val) {
H A D025.phpt14 $tidy=tidy_parse_string('<html><body>text</body></html>');
17 $tidy=tidy_parse_string('<html><body><!-- comment --></body></html>', array('newline' => 'LF'));
/PHP-8.2/ext/dom/tests/modern/html/serializer/
H A DHTMLDocument_serialize_text_02.phpt9 $body = $dom->appendChild($dom->createElement("body"));
11 $tag = $body->appendChild($dom->createElement($tag));
13 $body->appendChild(new DOMText("\n"));
19 <body><style>&"<>  foobar</style>
27 </body>
H A DHTMLDocument_serialize_text_03.phpt9 $body = $dom->appendChild($dom->createElement("body"));
11 $tag = $body->appendChild($dom->createElementNS("some:ns", $tag));
13 $body->appendChild(new DOMText("\n"));
19 <body><style>&amp;"&lt;&gt;&nbsp; foobar</style>
27 </body>
H A DHTMLDocument_serialize_doctype.phpt13 <body>
14 </body>
31 <body>
33 </body></html>
37 <body>
39 </body></html>
/PHP-8.2/sapi/fpm/tests/
H A Dstatus.inc54 * @param string $body
62 var_dump($body);
94 * @param string $body
105 string $body,
144 * @param string $body
155 * @param string $body
168 $body,
179 * @param string $body
185 $body,
202 * @param string $body
[all …]
H A Dlog-suppress-output-request-body.phpt2 FPM: Test URIs are not excluded from access log when there is a request body
15 $body = str_repeat('a', 100);
50 // Should not suppress POST with no body
57 // Should not suppress POST with body
60 stdin: $body
64 // Should not suppress GET with body
68 stdin: $body
72 // Should suppress GET with no body
78 // Should not suppress GET with no body but incorrect content length
85 // Should suppress GET with body but 0 content length (no stdin readable)
[all …]

Completed in 86 milliseconds

123456789