/PHP-5.6/ext/dom/tests/ |
H A D | DOMDocument_schemaValidateSource_missingAttrs.phpt | 10 $doc = new DOMDocument; 12 $doc->load(dirname(__FILE__)."/book-attr.xml"); 16 $doc->schemaValidateSource($xsd); 18 foreach ($doc->getElementsByTagName('book') as $book) {
|
H A D | DOMDocument_schemaValidate_addAttrs.phpt | 10 $doc = new DOMDocument; 12 $doc->load(dirname(__FILE__)."/book-attr.xml"); 14 $doc->schemaValidate(dirname(__FILE__)."/book.xsd", LIBXML_SCHEMA_CREATE); 16 foreach ($doc->getElementsByTagName('book') as $book) {
|
H A D | DOMDocument_schemaValidate_missingAttrs.phpt | 10 $doc = new DOMDocument; 12 $doc->load(dirname(__FILE__)."/book-attr.xml"); 14 $doc->schemaValidate(dirname(__FILE__)."/book.xsd"); 16 foreach ($doc->getElementsByTagName('book') as $book) {
|
H A D | domdocumentload_test_method_savexml.php | 4 $doc = new DOMDocument(); variable 8 $result = $doc->load(dirname(__FILE__) . getenv('XML_FILE'), $libxml_options); 13 echo $doc->saveXML();
|
H A D | domdocumentloadxml_test_method_savexml.php | 4 $doc = new DOMDocument(); variable 7 $result = $doc->loadXML(file_get_contents(dirname(__FILE__) . getenv('XML_FILE')), 13 echo $doc->saveXML();
|
H A D | DOMDocument_strictErrorChecking_variation.phpt | 13 $doc = new DOMDocument; 14 $doc->load(dirname(__FILE__)."/book.xml"); 17 var_dump($doc->strictErrorChecking); 21 $attr = $doc->createAttribute(0); 31 $doc->strictErrorChecking = false; 34 var_dump($doc->strictErrorChecking); 38 $attr = $doc->createAttribute(0);
|
H A D | bug49463.phpt | 8 $doc = new DOMDocument('1.0', 'utf-8'); 9 $root = $doc->createElementNS('http://purl.org/rss/1.0/','rdf:RDF'); 10 $doc->appendChild($root); 13 echo $doc->saveXML()."\n";
|
H A D | DOMNode_hasChildNodes_basic.phpt | 19 $doc = new DOMDocument(); 21 $root = $doc->createElement('book'); 22 $doc->appendChild($root); 24 $title = $doc->createElement('title'); 27 $text = $doc->createTextNode('This is the title');
|
H A D | canonicalization.phpt | 22 $doc = $dom->documentElement->firstChild; 24 /* inclusive/without comments first child element of doc element is context. */ 25 echo $doc->C14N()."\n\n"; 28 echo $doc->c14N(TRUE)."\n\n"; 30 /* inclusive/with comments first child element of doc element is context. */ 31 echo $doc->C14N(FALSE, TRUE)."\n\n"; 33 /* exclusive/with comments first child element of doc element is context. */ 34 echo $doc->C14N(TRUE, TRUE)."\n\n"; 39 /* exclusive/without comments first child element of doc element is context. 42 echo $doc->c14N(TRUE, FALSE, [all …]
|
H A D | bug41374.phpt | 12 $doc = new DOMDocument(); 13 $doc->loadXML($xml); 15 $root = $doc->documentElement; 20 $bar = $root->insertBefore($doc->createTextNode("bar"), $foo->nextSibling);
|
H A D | DOMDocumentType_basic_001.phpt | 14 $doc = new DOMDocument(); 15 $doc->loadXML($xml); 16 $doctype = $doc->doctype; 32 $doc = new DOMDocument(); 33 $doc->loadXML($xml); 34 $doctype = $doc->doctype;
|
H A D | DOMNode_normalize_basic.phpt | 22 $doc = new DOMDocument(); 24 $root = $doc->createElement('book'); 25 $doc->appendChild($root); 27 $title = $doc->createElement('title'); 30 $author = $doc->createElement('author'); 33 $text = $doc->createTextNode('This is the first title'); 40 $text = $doc->createTextNode('This is the second title');
|
H A D | DOMNode_getLineNo_basic.phpt | 10 $doc = new DOMDocument(); 11 $doc->load($file); 12 $nodes = $doc->getElementsByTagName('title');
|
H A D | DOMDocument_loadHTMLfile_error2.phpt | 13 $doc = new DOMDocument(); 14 $result = $doc->loadHTMLFile(""); 16 $doc = new DOMDocument(); 17 $result = $doc->loadHTMLFile("text.html\0something");
|
H A D | DOMDocument_implementationRead_basic.phpt | 11 $doc = new DOMDocument; 12 $doc->load(dirname(__FILE__)."/book.xml"); 14 var_dump($doc->implementation);
|
H A D | DOMDocument_schemaValidate_basic.phpt | 11 $doc = new DOMDocument; 13 $doc->load(dirname(__FILE__)."/book.xml"); 15 $result = $doc->schemaValidate(dirname(__FILE__)."/book.xsd");
|
H A D | DOMNode_getNodePath_basic.phpt | 10 $doc = new DOMDocument(); 11 $doc->load($file); 12 $nodes = $doc->getElementsByTagName('title');
|
H A D | bug44648.phpt | 8 $doc = new DOMDocument(); 9 $doc->loadXML('<root/>'); 11 $root = $doc->documentElement; 38 echo $doc->saveXML($root);
|
H A D | DOMDocument_schemaValidateSource_basic.phpt | 11 $doc = new DOMDocument; 13 $doc->load(dirname(__FILE__)."/book.xml"); 17 $result = $doc->schemaValidateSource($xsd);
|
H A D | bug49490.phpt | 7 $doc = new DOMDocument(); 8 $doc->loadXML('<prefix:root xmlns:prefix="urn:a" />'); 10 $xp = new DOMXPath($doc);
|
H A D | DOMDocumentType_systemId_basic_001.phpt | 13 $doc = new DOMDocument(); 14 $doc->loadXML($xml); 15 $doctype = $doc->doctype;
|
H A D | DOMDocument_relaxNGValidate_basic.phpt | 18 $doc = new DOMDocument(); 19 $doc->loadXML($xml); 20 $result = $doc->relaxNGValidate($rng);
|
/PHP-5.6/ext/tidy/ |
H A D | tidy.c | 191 TidyDoc doc; member 558 TidyDoc doc; in php_tidy_quick_repair() local 577 doc = tidyCreate(); in php_tidy_quick_repair() 584 tidyRelease(doc); in php_tidy_quick_repair() 591 TIDY_SET_DEFAULT_CONFIG(doc); in php_tidy_quick_repair() 634 tidyRelease(doc); in php_tidy_quick_repair() 1179 TidyDoc doc; in php_tidy_output_handler() local 1184 doc = tidyCreate(); in php_tidy_output_handler() 1191 TIDY_SET_DEFAULT_CONFIG(doc); in php_tidy_output_handler() 1196 if (0 <= tidyParseBuffer(doc, &inbuf) && 0 <= tidyCleanAndRepair(doc)) { in php_tidy_output_handler() [all …]
|
/PHP-5.6/ext/bcmath/libbcmath/ |
H A D | Makefile.am | 3 SUBDIRS= src doc 9 cp $(srcdir)/doc/bcmath.1 $(distdir)/doc
|
/PHP-5.6/ext/simplexml/tests/ |
H A D | 021.phpt | 9 $doc = simplexml_load_string('<root><exists>foo</exists></root>'); 10 if(!isset($doc->exists)) { 13 if(isset($doc->doesnotexist)) {
|