Home
last modified time | relevance | path

Searched refs:doctype (Results 1 – 25 of 40) sorted by relevance

12

/PHP-8.3/ext/dom/
H A Ddomimplementation.c53 xmlDtd *doctype; in PHP_METHOD() local
105 if (doctype == NULL) { in PHP_METHOD()
122 xmlDtdPtr doctype = NULL; in PHP_METHOD() local
140 if (doctype->doc != NULL) { in PHP_METHOD()
178 if (doctype != NULL) { in PHP_METHOD()
179 docp->intSubset = doctype; in PHP_METHOD()
180 doctype->parent = docp; in PHP_METHOD()
181 doctype->doc = docp; in PHP_METHOD()
189 if (doctype != NULL) { in PHP_METHOD()
191 doctype->parent = NULL; in PHP_METHOD()
[all …]
/PHP-8.3/ext/dom/tests/
H A DDOMDocumentType_basic_001.phpt16 $doctype = $doc->doctype;
17 print "publicId: ".$doctype->publicId."\n";
18 print "systemId: ".$doctype->systemId."\n";
19 print "name: ".$doctype->name."\n";
20 print "internalSubset: ".$doctype->internalSubset."\n";
34 $doctype = $doc->doctype;
35 $entities = $doctype->entities;
38 $notations = $doctype->notations;
H A DDOMImplementation_createDocumentType_basic.phpt8 $doctype = $imp->createDocumentType("html",
11 $doc = $imp->createDocument(null, 'html', $doctype);
14 $doctype = $imp->createDocumentType("html");
15 $doc = $imp->createDocument(null, 'html', $doctype);
18 $doctype = $imp->createDocumentType("html", "", "");
19 $doc = $imp->createDocument(null, 'html', $doctype);
H A DDOMDocumentType_systemId_basic_001.phpt15 $doctype = $doc->doctype;
16 var_dump($doctype->systemId);
H A DDOMDocumentType_publicId_basic_001.phpt15 $doctype = $doc->doctype;
16 var_dump($doctype->publicId);
H A Dbug79451.phpt2 Bug #79451 (Using DOMDocument->replaceChild on doctype causes double free)
11 $dom->replaceChild($dt, $dom->doctype);
13 var_dump($dom->doctype->name);
H A Dbug67081.phpt10 var_dump($domDocument->doctype->internalSubset);
15 var_dump($domDocument->doctype->internalSubset);
20 var_dump($domDocument->doctype->internalSubset);
25 var_dump($domDocument->doctype->internalSubset);
H A DDOMDocumentType_entities_error_001.phpt10 $doctype = new DOMDocumentType();
12 $doctype->entities;
H A DDOMDocumentType_internalSubset_error_001.phpt10 $doctype = new DOMDocumentType();
12 $doctype->internalSubset;
H A DDOMDocumentType_name_error_001.phpt10 $doctype = new DOMDocumentType();
12 $doctype->name;
H A DDOMDocumentType_notations_error_001.phpt10 $doctype = new DOMDocumentType();
12 $notations = $doctype->notations;
H A DDOMDocumentType_publicId_error_001.phpt10 $doctype = new DOMDocumentType();
12 $publicId = $doctype->publicId;
H A DDOMDocumentType_systemId_error_001.phpt10 $doctype = new DOMDocumentType();
12 $systemId = $doctype->systemId;
H A DDOMNode_isEqualNode.phpt75 var_dump($dom1->doctype->isEqualNode(null));
78 echo "--- Test doctype ---\n";
80 var_dump($dom1->doctype->isEqualNode($dom1->doctype));
82 var_dump($dom1->doctype->isEqualNode($dom2->doctype));
84 var_dump($dom1->doctype->isEqualNode($dom2->doctype));
86 var_dump($dom1->doctype->isEqualNode($dom2->doctype));
88 var_dump($dom1->doctype->isEqualNode($dom2->doctype));
130 comparePairs($dom1->doctype->entities, $dom2->doctype->entities);
143 comparePairs($dom1->doctype->notations, $dom2->doctype->notations);
277 --- Test doctype ---
H A Duaf_doctype_iterator.phpt2 UAF when removing doctype and iterating over the child nodes
18 $dom->removeChild($dom->doctype);
H A DDOMNode_DOMNameSpaceNode_parentElement.phpt27 var_dump(get_class($dom->doctype->parentNode));
28 var_dump($dom->doctype->parentElement);
H A DDOMNode_DOMNameSpaceNode_isConnected.phpt27 var_dump($dom->doctype->isConnected);
36 var_dump($dom->doctype->isConnected);
H A Dbug78025.phpt10 var_dump($dom->doctype->name);
H A Dentity_reference_stale_02.phpt24 $dom->removeChild($dom->doctype);
/PHP-8.3/ext/dom/tests/delayed_freeing/
H A Dentity_declaration.phpt18 $entity1 = $doc->doctype->entities[0];
19 $entity2 = $doc->doctype->entities[1];
26 $doc->removeChild($doc->doctype);
H A Dnotation_declaration.phpt15 $notation = $doc->doctype->notations[0];
17 $doc->removeChild($doc->doctype);
/PHP-8.3/ext/standard/
H A Dhtml.c56 #define LIMIT_ALL(all, doctype, charset) do { \ argument
831 int doctype = flags & ENT_HTML_DOC_TYPE_MASK; in traverse_for_entities() local
869 if (!unicode_cp_is_allowed(code, doctype) || in traverse_for_entities()
870 (doctype == ENT_HTML_DOC_HTML5 && code == 0x0D)) in traverse_for_entities()
962 assert(!(doctype == ENT_HTML_DOC_XML1 && all)); in determine_entity_table()
968 retval.table = (doctype == ENT_HTML_DOC_HTML401) ? in determine_entity_table()
1108 int doctype = flags & ENT_HTML_DOC_TYPE_MASK; in php_escape_html_entities_ex() local
1122 LIMIT_ALL(all, doctype, charset); in php_escape_html_entities_ex()
1457 int doctype; in PHP_FUNCTION() local
1476 doctype = flags & ENT_HTML_DOC_TYPE_MASK; in PHP_FUNCTION()
[all …]
/PHP-8.3/sapi/cli/tests/
H A Dphp_cli_server_013.phpt133 <!doctype html><html><head><title>404 Not Found</title><style>AAA</style>
142 <!doctype html><html><head><title>404 Not Found</title><style>AAA</style>
160 <!doctype html><html><head><title>405 Method Not Allowed</title><style>AAA</style>
170 <!doctype html><html><head><title>405 Method Not Allowed</title><style>AAA</style>
180 <!doctype html><html><head><title>405 Method Not Allowed</title><style>AAA</style>
/PHP-8.3/ext/standard/tests/strings/
H A Dbug23650.phpt7 2:<!doctype -- >
/PHP-8.3/ext/tidy/tests/
H A D031.phpt10 $config = array('doctype' => 'php');

Completed in 32 milliseconds

12