Home
last modified time | relevance | path

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

12345678910

/php-src/ext/dom/tests/modern/spec/
H A DElement_removeAttributeNS.phpt10 $body = $dom->getElementsByTagName("body")[0];
78 <body foo:bar="baz"></body>
79 <body foo:bar="baz"></body>
80 <body align="foo" foo:bar="baz"></body>
81 <body align="foo" foo:bar="baz"></body>
82 <body align="foo"></body>
83 <body align="foo"></body>
84 <body align="foo" foo:bar="baz"></body>
85 <body align="foo" foo:bar="baz"></body>
90 <body align="foo" foo:bar="baz"></body>
[all …]
H A DElement_removeAttribute.phpt10 …DOM\HTMLDocument::createFromString('<!DOCTYPE html><html><body align="foo" foo:bar="baz"></body></…
11 $body = $dom->getElementsByTagName("body")[0];
12 var_dump($body->removeAttribute("align"));
14 echo $dom->saveHTML($body), "\n";
21 echo $dom->saveHTML($body), "\n";
28 echo $dom->saveHTML($body), "\n";
32 echo $dom->saveHTML($body), "\n";
51 <body></body>
54 <body></body>
57 <body></body>
[all …]
H A DElement_getAttributeNS.phpt8 …DOM\HTMLDocument::createFromString('<!DOCTYPE html><html><body align="foo" foo:bar="baz"></body></…
9 $body = $dom->getElementsByTagName("body")[0];
14 var_dump($body->getAttributeNS(NULL, "align"));
15 var_dump($body->getAttributeNS("", "align"));
16 var_dump($body->getAttributeNS(NULL, "ALIGN"));
17 var_dump($body->getAttributeNS("", "ALIGN"));
18 var_dump($body->getAttributeNS(NULL, "foo:bar"));
19 var_dump($body->getAttributeNS("", "foo:bar"));
20 var_dump($body->getAttributeNS(NULL, "FOO:BAR"));
21 var_dump($body->getAttributeNS("", "FOO:BAR"));
[all …]
H A DElement_getAttributeNodeNS.phpt10 …DOM\HTMLDocument::createFromString('<!DOCTYPE html><html><body align="foo" foo:bar="baz"></body></…
11 $body = $dom->getElementsByTagName("body")[0];
16 var_dump($body->getAttributeNodeNS(NULL, "align")->textContent);
17 var_dump($body->getAttributeNodeNS("", "align")->textContent);
18 var_dump($body->getAttributeNodeNS(NULL, "ALIGN"));
19 var_dump($body->getAttributeNodeNS("", "ALIGN"));
21 var_dump($body->getAttributeNodeNS("", "foo:bar")->textContent);
22 var_dump($body->getAttributeNodeNS(NULL, "FOO:BAR"));
23 var_dump($body->getAttributeNodeNS("", "FOO:BAR"));
34 var_dump($body->getAttributeNodeNS(NULL, "prefix:LOCAL"));
[all …]
H A DElement_hasAttributeNS.phpt8 …DOM\HTMLDocument::createFromString('<!DOCTYPE html><html><body align="foo" foo:bar="baz"></body></…
9 $body = $dom->getElementsByTagName("body")[0];
14 var_dump($body->hasAttributeNS(NULL, "align"));
15 var_dump($body->hasAttributeNS("", "align"));
16 var_dump($body->hasAttributeNS(NULL, "ALIGN"));
17 var_dump($body->hasAttributeNS("", "ALIGN"));
18 var_dump($body->hasAttributeNS(NULL, "foo:bar"));
19 var_dump($body->hasAttributeNS("", "foo:bar"));
20 var_dump($body->hasAttributeNS(NULL, "FOO:BAR"));
21 var_dump($body->hasAttributeNS("", "FOO:BAR"));
[all …]
H A DElement_getAttributeNode.phpt10 …DOM\HTMLDocument::createFromString('<!DOCTYPE html><html><body align="foo" foo:bar="baz"></body></…
11 $body = $dom->getElementsByTagName("body")[0];
12 var_dump($body->getAttributeNode("align")->textContent);
13 var_dump($body->getAttributeNode("foo:bar")->textContent);
17 $body->setAttributeNode($attr = $dom->createAttribute("prefix:local"));
19 var_dump($body->getAttributeNode("prefix:local")->textContent);
23 $body->setAttributeNode($attr = $dom->createAttributeNS("urn:a", "prefix:local2"));
25 var_dump($body->getAttributeNode("prefix:local2")->textContent);
26 var_dump($body->getAttributeNode("Prefix:LOCAL2")->textContent);
H A DElement_hasAttribute.phpt10 …DOM\HTMLDocument::createFromString('<!DOCTYPE html><html><body align="foo" foo:bar="baz"></body></…
11 $body = $dom->getElementsByTagName("body")[0];
12 var_dump($body->hasAttribute("align"));
13 var_dump($body->hasAttribute("foo:bar"));
17 $body->setAttributeNode($attr = $dom->createAttribute("prefix:local"));
19 var_dump($body->hasAttribute("prefix:local"));
23 $body->setAttributeNode($attr = $dom->createAttributeNS("urn:a", "prefix:local2"));
25 var_dump($body->hasAttribute("prefix:local2"));
26 var_dump($body->hasAttribute("Prefix:LOCAL2"));
H A DElement_getAttribute.phpt10 …DOM\HTMLDocument::createFromString('<!DOCTYPE html><html><body align="foo" foo:bar="baz"></body></…
11 $body = $dom->getElementsByTagName("body")[0];
12 var_dump($body->getAttribute("align"));
13 var_dump($body->getAttribute("foo:bar"));
17 $body->setAttributeNode($attr = $dom->createAttribute("prefix:local"));
19 var_dump($body->getAttribute("prefix:local"));
23 $body->setAttributeNode($attr = $dom->createAttributeNS("urn:a", "prefix:local2"));
25 var_dump($body->getAttribute("prefix:local2"));
26 var_dump($body->getAttribute("Prefix:LOCAL2"));
H A DNode_lookupNamespaceURI.phpt11 <body>
14 </body>
18 $body = $dom->getElementsByTagName("body")[0];
19 $namespaceless = $body->appendChild($dom->createElementNS(NULL, "foo"));
20 $prefixed = $body->appendChild($dom->createElementNS("urn:a", "a:a"));
48 var_dump($body->lookupNamespaceURI(""));
49 var_dump($body->lookupNamespaceURI(NULL));
50 var_dump($body->lookupNamespaceURI("a"));
54 var_dump($body->lookupNamespaceURI(""));
55 var_dump($body->lookupNamespaceURI(NULL));
[all …]
H A DNamedNodeMap_getNamedItem.phpt14 <body align="foo" foo:bar="baz">
15 </body>
21 $body = $dom->getElementsByTagName('body')->item(0);
22 $body->setAttributeNS("http://www.w3.org/2000/xmlns/", "xmlns:foo", "http://example.com/foo");
23 $attributes = $body->attributes;
40 $dom->appendChild($dom->importNode($body, true));
42 $body = $dom->getElementsByTagName('body')->item(0);
43 $attributes = $body->attributes;
H A DHTMLDocument_importNode_01.phpt11 <body xmlns="http://www.w3.org/1999/xhtml">
17 </body>
26 $body = $dom2->getElementsByTagName("body")[0];
27 $default_p = $body->lastElementChild;
39 <body xmlns="http://www.w3.org/1999/xhtml">
45 </body>
H A DDocument_implementation_createHTMLDocument.phpt27 <html xmlns="http://www.w3.org/1999/xhtml"><head></head><body></body></html>
31 <html xmlns="http://www.w3.org/1999/xhtml"><head><title></title></head><body></body></html>
35 <html xmlns="http://www.w3.org/1999/xhtml"><head><title>my &lt;title&gt;</title></head><body></body
/php-src/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 DHTMLDocument_fromString_old_dtd.phpt13 <body>
14 </body>
29 <body>
31 </body></html>
37 <body>
39 </body></html>
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>
/php-src/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-src/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"
/php-src/ext/dom/tests/modern/html/interactions/
H A Dnoscript.phpt10 …M\HTMLDocument::createFromString("<!doctype html><html><body><noscript><p>hi</p></noscript></body>…
35 <!DOCTYPE html><html><head></head><body><noscript><p>hi</p></noscript></body></html>
38 <html><head/><body><noscript><p>hi</p></noscript></body></html>
40 <!DOCTYPE html><html><head></head><body><noscript>&lt;p&gt;bye&lt;/p&gt;</noscript></body></html>
43 <html><head/><body><noscript>&lt;p&gt;bye&lt;/p&gt;</noscript></body></html>
45 <!DOCTYPE html><html><head></head><body><noscript>&lt;!-- &lt;/noscript&gt; --&gt;</noscript></body
48 <html><head/><body><noscript>&lt;!-- &lt;/noscript&gt; --&gt;</noscript></body></html>
/php-src/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 …]
/php-src/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->append("\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->append("\n");
19 <body><style>&amp;"&lt;&gt;&nbsp; foobar</style>
27 </body>
/php-src/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 49 milliseconds

12345678910