/php-src/ext/dom/tests/ |
H A D | DOMDocument_schemaValidateSource_error2.phpt | 11 $doc = new DOMDocument; 13 $doc->load(__DIR__."/book.xml"); 17 $result = $doc->schemaValidateSource($xsd);
|
H A D | DOMDocument_schemaValidate_error2.phpt | 11 $doc = new DOMDocument; 13 $doc->load(__DIR__."/book.xml"); 15 $result = $doc->schemaValidate(__DIR__."/book-non-conforming-schema.xsd");
|
H A D | not_serializable.phpt | 8 $doc = new DOMDocument(); 9 $doc->loadXML('<root><node/></root>'); 11 serialize($doc); 16 $node = $doc->documentElement; 23 $xpath = new DOMXPath($doc);
|
H A D | DOMDocument_relaxNGValidate_error1.phpt | 17 $doc = new DOMDocument(); 18 $doc->loadXML($xml); 19 $result = $doc->relaxNGValidate($rng);
|
H A D | bug47530.phpt | 9 $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 D | gh11347.phpt | 15 $doc = new DOMDocument(); 16 $doc->loadHTML('<a href="https://php.net">hello</a>'); 17 $xpath = new DOMXpath($doc);
|
H A D | DOMDocument_relaxNGValidateSource_basic.phpt | 30 $doc = new DOMDocument(); 31 $doc->loadXML($good_xml); 32 $result = $doc->relaxNGValidateSource($rng);
|
H A D | DOMDocument_json_encode.phpt | 7 $doc = new DOMDocument; 8 echo json_encode($doc);
|
H A D | DOMDocument_getElementsByTagName_liveness_tree_walk.phpt | 8 $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 D | bug78577.phpt | 8 $doc = new DOMDocument; 9 $doc->loadXML('<foo xmlns="http://php.net/test" xmlns:foo="urn:foo" />'); 11 $attr = $doc->documentElement->getAttributeNode('xmlns');
|
H A D | php_function_edge_cases.phpt | 8 $doc = new DOMDocument(); 9 $doc->loadHTML('<a href="https://php.net">hello</a>'); 10 $xpath = new DOMXpath($doc);
|
H A D | DOMImplementation_createDocument_basic.phpt | 9 $doc = $x->createDocument(null, 'html'); 10 echo $doc->saveHTML();
|
H A D | libxml_global_state_entity_loader_bypass.phpt | 19 $doc = new DOMDocument(); 20 @$doc->loadXML($xml); 21 $doc->createDocumentFragment()->appendXML("&bork;");
|
H A D | DOMDocument_schemaValidate_error5.phpt | 11 $doc = new DOMDocument; 13 $doc->load(__DIR__."/book.xml"); 15 $result = $doc->schemaValidate(__DIR__."/non-existent-file");
|
/php-src/ext/reflection/tests/ |
H A D | ReflectionClass_getDocComment_001.phpt | 27 * Interface doc comment 36 * Not a doc comment 40 /**** Not a doc comment */ 43 /**?** Not a doc comment */ 97 * Interface doc comment
|
H A D | ReflectionFunction_getDocComment.001.phpt | 12 * my doc comment 22 * not a doc comment 39 * my doc comment
|
H A D | ReflectionProperty_getDocComment_basic.phpt | 18 /**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 D | bug61367-write.phpt | 14 $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 D | style_element.c | 56 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 D | without_contructor.phpt | 25 $doc = new DOMDocument; 27 $doc->appendChild($doc->importNode($node));
|
H A D | gh9628_2.phpt | 19 $doc = new \DOMDocument('1.0', 'UTF-8'); 20 $doc->loadHTML( 23 $xpath = new \DOMXPath($doc); 34 \assert($span->ownerDocument === $doc);
|
H A D | dom_character_data.phpt | 7 $doc = new DOMDocument; 8 $doc->loadXML(<<<'XML' 12 $cdata = $doc->documentElement->firstChild;
|
/php-src/ext/dom/lexbor/lexbor/dom/interfaces/ |
H A D | document.c | 20 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 D | style.c | 11 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 D | config.yml | 4 url: https://github.com/php/doc-en/issues 5 about: Please report documentation issues on the doc-en repository.
|