Home
last modified time | relevance | path

Searched refs:doc (Results 151 – 175 of 312) sorted by relevance

12345678910>>...13

/php-src/ext/dom/tests/
H A DDOMDocument_schemaValidateSource_error2.phpt11 $doc = new DOMDocument;
13 $doc->load(__DIR__."/book.xml");
17 $result = $doc->schemaValidateSource($xsd);
H A DDOMDocument_schemaValidate_error2.phpt11 $doc = new DOMDocument;
13 $doc->load(__DIR__."/book.xml");
15 $result = $doc->schemaValidate(__DIR__."/book-non-conforming-schema.xsd");
H A Dnot_serializable.phpt8 $doc = new DOMDocument();
9 $doc->loadXML('<root><node/></root>');
11 serialize($doc);
16 $node = $doc->documentElement;
23 $xpath = new DOMXPath($doc);
H A DDOMDocument_relaxNGValidate_error1.phpt17 $doc = new DOMDocument();
18 $doc->loadXML($xml);
19 $result = $doc->relaxNGValidate($rng);
H A Dbug47530.phpt9 $doc = new DOMDocument;
11 $root = $doc->documentElement;
12 $frag = $doc->createDocumentFragment();
13 $frag->appendChild($doc->importNode($root->firstChild));
15 echo $doc->saveXML();
19 $doc = new DOMDocument;
21 $frag = $doc->createDocumentFragment();
23 $frag->appendChild($doc->createElementNS('', 'bar'));
24 $element = $doc->documentElement->firstChild;
27 echo $doc->saveXML();
[all …]
H A Dgh11347.phpt15 $doc = new DOMDocument();
16 $doc->loadHTML('<a href="https://php.net">hello</a>');
17 $xpath = new DOMXpath($doc);
H A DDOMDocument_relaxNGValidateSource_basic.phpt30 $doc = new DOMDocument();
31 $doc->loadXML($good_xml);
32 $result = $doc->relaxNGValidateSource($rng);
H A DDOMDocument_json_encode.phpt7 $doc = new DOMDocument;
8 echo json_encode($doc);
H A DDOMDocument_getElementsByTagName_liveness_tree_walk.phpt8 $doc = new DOMDocument;
9 $doc->loadXML('<root><container><a><b i="1"/><b i="2"/></a><b i="3"/></container><b i="4"/></root>'…
12 $list = $doc->documentElement->firstChild->getElementsByTagName('b');
26 $list = $doc->getElementsByTagName('b');
41 $list = $doc->documentElement->firstChild->getElementsByTagName('b');
53 $list = $doc->documentElement->firstChild->getElementsByTagName('b');
H A Dbug78577.phpt8 $doc = new DOMDocument;
9 $doc->loadXML('<foo xmlns="http://php.net/test" xmlns:foo="urn:foo" />');
11 $attr = $doc->documentElement->getAttributeNode('xmlns');
H A Dphp_function_edge_cases.phpt8 $doc = new DOMDocument();
9 $doc->loadHTML('<a href="https://php.net">hello</a>');
10 $xpath = new DOMXpath($doc);
H A DDOMImplementation_createDocument_basic.phpt9 $doc = $x->createDocument(null, 'html');
10 echo $doc->saveHTML();
H A Dlibxml_global_state_entity_loader_bypass.phpt19 $doc = new DOMDocument();
20 @$doc->loadXML($xml);
21 $doc->createDocumentFragment()->appendXML("&bork;");
H A DDOMDocument_schemaValidate_error5.phpt11 $doc = new DOMDocument;
13 $doc->load(__DIR__."/book.xml");
15 $result = $doc->schemaValidate(__DIR__."/non-existent-file");
/php-src/ext/reflection/tests/
H A DReflectionClass_getDocComment_001.phpt27 * Interface doc comment
36 * Not a doc comment
40 /**** Not a doc comment */
43 /**?** Not a doc comment */
97 * Interface doc comment
H A DReflectionFunction_getDocComment.001.phpt12 * my doc comment
22 * not a doc comment
39 * my doc comment
H A DReflectionProperty_getDocComment_basic.phpt18 /**Not a doc comment */
28 /** A doc comment for $b */
30 /** A doc comment for $e */
81 string(%d) "/** A doc comment for $b */"
89 string(%d) "/** A doc comment for $e */"
/php-src/ext/libxml/tests/
H A Dbug61367-write.phpt14 $doc = new DOMDocument;
15 $doc->appendChild($doc->createTextNode('hello'));
16 var_dump($doc->save(dirname(getcwd()) . '/bad'));
/php-src/ext/dom/lexbor/lexbor/html/interfaces/
H A Dstyle_element.c56 lxb_html_document_t *doc = lxb_html_interface_document(ddoc); in lxb_html_style_element_parse() local
57 lxb_html_document_css_t *css = &doc->css; in lxb_html_style_element_parse()
88 lxb_html_document_t *doc = lxb_html_interface_document(ddoc); in lxb_html_element_style_remove() local
90 lxb_html_document_stylesheet_remove(doc, style->stylesheet); in lxb_html_element_style_remove()
/php-src/ext/dom/tests/delayed_freeing/
H A Dwithout_contructor.phpt25 $doc = new DOMDocument;
27 $doc->appendChild($doc->importNode($node));
H A Dgh9628_2.phpt19 $doc = new \DOMDocument('1.0', 'UTF-8');
20 $doc->loadHTML(
23 $xpath = new \DOMXPath($doc);
34 \assert($span->ownerDocument === $doc);
H A Ddom_character_data.phpt7 $doc = new DOMDocument;
8 $doc->loadXML(<<<'XML'
12 $cdata = $doc->documentElement->firstChild;
/php-src/ext/dom/lexbor/lexbor/dom/interfaces/
H A Ddocument.c20 lxb_dom_document_t *doc; in lxb_dom_document_interface_create() local
22 doc = lexbor_mraw_calloc(document->mraw, sizeof(lxb_dom_document_t)); in lxb_dom_document_interface_create()
23 if (doc == NULL) { in lxb_dom_document_interface_create()
31 return doc; in lxb_dom_document_interface_create()
36 const lxb_dom_document_t *doc) in lxb_dom_document_interface_clone() argument
45 new->doctype = doc->doctype; in lxb_dom_document_interface_clone()
46 new->compat_mode = doc->compat_mode; in lxb_dom_document_interface_clone()
47 new->type = doc->type; in lxb_dom_document_interface_clone()
48 new->user = doc->user; in lxb_dom_document_interface_clone()
437 new = doc->clone_interface(doc, node); in lxb_dom_document_import_node()
[all …]
/php-src/ext/dom/lexbor/lexbor/html/
H A Dstyle.c11 lxb_html_style_id_by_name(lxb_html_document_t *doc, in lxb_html_style_id_by_name() argument
19 return lxb_html_document_css_customs_find_id(doc, name, size); in lxb_html_style_id_by_name()
/php-src/.github/ISSUE_TEMPLATE/
H A Dconfig.yml4 url: https://github.com/php/doc-en/issues
5 about: Please report documentation issues on the doc-en repository.

Completed in 21 milliseconds

12345678910>>...13