php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
php_dom.stub.php
Go to the documentation of this file.
1<?php
2
4
5namespace
6{
11 const XML_ELEMENT_NODE = UNKNOWN;
16 const XML_ATTRIBUTE_NODE = UNKNOWN;
21 const XML_TEXT_NODE = UNKNOWN;
26 const XML_CDATA_SECTION_NODE = UNKNOWN;
31 const XML_ENTITY_REF_NODE = UNKNOWN;
36 const XML_ENTITY_NODE = UNKNOWN;
41 const XML_PI_NODE = UNKNOWN;
46 const XML_COMMENT_NODE = UNKNOWN;
51 const XML_DOCUMENT_NODE = UNKNOWN;
56 const XML_DOCUMENT_TYPE_NODE = UNKNOWN;
61 const XML_DOCUMENT_FRAG_NODE = UNKNOWN;
66 const XML_NOTATION_NODE = UNKNOWN;
71 const XML_HTML_DOCUMENT_NODE = UNKNOWN;
76 const XML_DTD_NODE = UNKNOWN;
81 const XML_ELEMENT_DECL_NODE = UNKNOWN;
86 const XML_ATTRIBUTE_DECL_NODE = UNKNOWN;
91 const XML_ENTITY_DECL_NODE = UNKNOWN;
96 const XML_NAMESPACE_DECL_NODE = UNKNOWN;
101 const XML_LOCAL_NAMESPACE = UNKNOWN;
106 const XML_ATTRIBUTE_CDATA = UNKNOWN;
111 const XML_ATTRIBUTE_ID = UNKNOWN;
116 const XML_ATTRIBUTE_IDREF = UNKNOWN;
121 const XML_ATTRIBUTE_IDREFS = UNKNOWN;
126 const XML_ATTRIBUTE_ENTITY = UNKNOWN;
131 const XML_ATTRIBUTE_NMTOKEN = UNKNOWN;
136 const XML_ATTRIBUTE_NMTOKENS = UNKNOWN;
141 const XML_ATTRIBUTE_ENUMERATION = UNKNOWN;
146 const XML_ATTRIBUTE_NOTATION = UNKNOWN;
147
153 const DOM_PHP_ERR = UNKNOWN;
158 const DOM_INDEX_SIZE_ERR = UNKNOWN;
163 const DOMSTRING_SIZE_ERR = UNKNOWN;
168 const DOM_HIERARCHY_REQUEST_ERR = UNKNOWN;
173 const DOM_WRONG_DOCUMENT_ERR = UNKNOWN;
178 const DOM_INVALID_CHARACTER_ERR = UNKNOWN;
183 const DOM_NO_DATA_ALLOWED_ERR = UNKNOWN;
188 const DOM_NO_MODIFICATION_ALLOWED_ERR = UNKNOWN;
193 const DOM_NOT_FOUND_ERR = UNKNOWN;
198 const DOM_NOT_SUPPORTED_ERR = UNKNOWN;
203 const DOM_INUSE_ATTRIBUTE_ERR = UNKNOWN;
208 const DOM_INVALID_STATE_ERR = UNKNOWN;
213 const DOM_SYNTAX_ERR = UNKNOWN;
218 const DOM_INVALID_MODIFICATION_ERR = UNKNOWN;
223 const DOM_NAMESPACE_ERR = UNKNOWN;
228 const DOM_INVALID_ACCESS_ERR = UNKNOWN;
233 const DOM_VALIDATION_ERR = UNKNOWN;
235 class DOMDocumentType extends DOMNode
236 {
241 public string $name;
242
248
254
259 public string $publicId;
260
265 public string $systemId;
266
271 public ?string $internalSubset;
272 }
274 class DOMCdataSection extends DOMText
276 public function __construct(string $data) {}
277 }
279 class DOMComment extends DOMCharacterData
281 public function __construct(string $data = "") {}
282 }
284 interface DOMParentNode
285 {
287 public function append(...$nodes): void;
288
290 public function prepend(...$nodes): void;
291
293 public function replaceChildren(...$nodes): void;
294 }
296 interface DOMChildNode
298 public function remove(): void;
299
301 public function before(... $nodes): void;
302
304 public function after(...$nodes): void;
305
307 public function replaceWith(...$nodes): void;
308 }
310 class DOMNode
312 public const int DOCUMENT_POSITION_DISCONNECTED = 0x01;
313 public const int DOCUMENT_POSITION_PRECEDING = 0x02;
314 public const int DOCUMENT_POSITION_FOLLOWING = 0x04;
315 public const int DOCUMENT_POSITION_CONTAINS = 0x08;
316 public const int DOCUMENT_POSITION_CONTAINED_BY = 0x10;
317 public const int DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC = 0x20;
318
323 public string $nodeName;
324
326 public ?string $nodeValue;
327
332 public int $nodeType;
333
338 public ?DOMNode $parentNode;
339
345
351
356 public ?DOMNode $firstChild;
357
362 public ?DOMNode $lastChild;
363
369
374 public ?DOMNode $nextSibling;
375
381
386 public bool $isConnected;
387
393
398 public ?string $namespaceURI;
399
401 public string $prefix;
402
407 public ?string $localName;
408
413 public ?string $baseURI;
414
416 public string $textContent;
417
419 public function appendChild(DOMNode $node) {}
420
422 public function C14N(bool $exclusive = false, bool $withComments = false, ?array $xpath = null, ?array $nsPrefixes = null): string|false {}
423
425 public function C14NFile(string $uri, bool $exclusive = false, bool $withComments = false, ?array $xpath = null, ?array $nsPrefixes = null): int|false {}
426
428 public function cloneNode(bool $deep = false) {}
429
431 public function getLineNo(): int {}
432
434 public function getNodePath(): ?string {}
435
437 public function hasAttributes(): bool {}
438
440 public function hasChildNodes(): bool {}
441
443 public function insertBefore(DOMNode $node, ?DOMNode $child = null) {}
444
446 public function isDefaultNamespace(string $namespace): bool {}
447
449 public function isSameNode(DOMNode $otherNode): bool {}
451 public function isEqualNode(?DOMNode $otherNode): bool {}
452
454 public function isSupported(string $feature, string $version): bool {}
455
457 public function lookupNamespaceURI(?string $prefix): ?string {}
458
460 public function lookupPrefix(string $namespace): ?string {}
461
463 public function normalize(): void {}
464
466 public function removeChild(DOMNode $child) {}
467
469 public function replaceChild(DOMNode $node, DOMNode $child) {}
471 public function contains(DOMNode|DOMNameSpaceNode|null $other): bool {}
473 public function getRootNode(?array $options = null): DOMNode {}
475 public function compareDocumentPosition(DOMNode $other): int {}
477 public function __sleep(): array {}
479 public function __wakeup(): void {}
480 }
482 class DOMNameSpaceNode
483 {
488 public string $nodeName;
489
494 public ?string $nodeValue;
495
500 public int $nodeType;
501
506 public string $prefix;
507
512 public ?string $localName;
513
518 public ?string $namespaceURI;
519
524 public bool $isConnected;
525
531
536 public ?DOMNode $parentNode;
537
543
545 public function __sleep(): array {}
546
548 public function __wakeup(): void {}
549 }
552 {
554 public function hasFeature(string $feature, string $version): bool {}
555
557 public function createDocumentType(string $qualifiedName, string $publicId = "", string $systemId = "") {}
558
560 public function createDocument(?string $namespace = null, string $qualifiedName = "", ?DOMDocumentType $doctype = null): DOMDocument {}
561 }
563 class DOMDocumentFragment extends DOMNode implements DOMParentNode
564 {
570
576
581 public int $childElementCount;
583 public function __construct() {}
584
586 public function appendXML(string $data): bool {}
587
592 public function append(...$nodes): void {}
593
598 public function prepend(...$nodes): void {}
599
604 public function replaceChildren(...$nodes): void {}
605 }
607 class DOMNodeList implements IteratorAggregate, Countable
608 {
613 public int $length;
614
616 public function count(): int {}
618 public function getIterator(): Iterator {}
619
621 public function item(int $index) {}
622 }
624 class DOMCharacterData extends DOMNode implements DOMChildNode
625 {
627 public string $data;
628
633 public int $length;
634
640
646
648 public function appendData(string $data): true {}
649
651 public function substringData(int $offset, int $count) {}
652
654 public function insertData(int $offset, string $data): bool {}
655
657 public function deleteData(int $offset, int $count): bool {}
658
660 public function replaceData(int $offset, int $count, string $data): bool {}
661
666 public function replaceWith(...$nodes): void {}
667
669 public function remove(): void {}
670
675 public function before(... $nodes): void {}
676
681 public function after(...$nodes): void {}
682 }
684 class DOMAttr extends DOMNode
685 {
690 public string $name;
691
696 public bool $specified;
697
699 public string $value;
700
706
711 public mixed $schemaTypeInfo;
713 public function __construct(string $name, string $value = "") {}
714
716 public function isId(): bool {}
717 }
719 class DOMElement extends DOMNode implements \DOMParentNode, \DOMChildNode
720 {
725 public string $tagName;
726
728 public string $className;
729
731 public string $id;
732
737 public mixed $schemaTypeInfo;
738
744
750
755 public int $childElementCount;
756
762
769 public function __construct(string $qualifiedName, ?string $value = null, string $namespace = "") {}
770
772 public function getAttribute(string $qualifiedName): string {}
774 public function getAttributeNames(): array {}
775
777 public function getAttributeNS(?string $namespace, string $localName): string {}
778
780 public function getAttributeNode(string $qualifiedName) {}
781
783 public function getAttributeNodeNS(?string $namespace, string $localName) {}
784
786 public function getElementsByTagName(string $qualifiedName): DOMNodeList {}
787
789 public function getElementsByTagNameNS(?string $namespace, string $localName): DOMNodeList {}
790
792 public function hasAttribute(string $qualifiedName): bool {}
793
795 public function hasAttributeNS(?string $namespace, string $localName): bool {}
796
798 public function removeAttribute(string $qualifiedName): bool {}
799
801 public function removeAttributeNS(?string $namespace, string $localName): void {}
802
804 public function removeAttributeNode(DOMAttr $attr) {}
805
807 public function setAttribute(string $qualifiedName, string $value) {}
808
810 public function setAttributeNS(?string $namespace, string $qualifiedName, string $value): void {}
811
813 public function setAttributeNode(DOMAttr $attr) {}
814
816 public function setAttributeNodeNS(DOMAttr $attr) {}
817
819 public function setIdAttribute(string $qualifiedName, bool $isId): void {}
820
822 public function setIdAttributeNS(string $namespace, string $qualifiedName, bool $isId): void {}
823
825 public function setIdAttributeNode(DOMAttr $attr, bool $isId): void {}
827 public function toggleAttribute(string $qualifiedName, ?bool $force = null): bool {}
829 public function remove(): void {}
830
832 public function before(... $nodes): void {}
833
835 public function after(...$nodes): void {}
836
838 public function replaceWith(...$nodes): void {}
839
841 public function append(...$nodes): void {}
842
844 public function prepend(...$nodes): void {}
845
847 public function replaceChildren(...$nodes): void {}
849 public function insertAdjacentElement(string $where, DOMElement $element): ?DOMElement {}
851 public function insertAdjacentText(string $where, string $data): void {}
852 }
854 class DOMDocument extends DOMNode implements DOMParentNode
855 {
861
867
873
879 public ?string $actualEncoding;
880
882 public ?string $encoding;
883
888 public ?string $xmlEncoding;
889
891 public bool $standalone;
892
894 public bool $xmlStandalone;
895
897 public ?string $version;
898
900 public ?string $xmlVersion;
901
903 public bool $strictErrorChecking;
904
906 public ?string $documentURI;
907
913 public mixed $config;
914
916 public bool $formatOutput;
917
919 public bool $validateOnParse;
920
922 public bool $resolveExternals;
923
925 public bool $preserveWhiteSpace;
926
928 public bool $recover;
929
931 public bool $substituteEntities;
932
938
944
949 public int $childElementCount;
951 public function __construct(string $version = "1.0", string $encoding = "") {}
952
954 public function createAttribute(string $localName) {}
955
957 public function createAttributeNS(?string $namespace, string $qualifiedName) {}
958
960 public function createCDATASection(string $data) {}
961
963 public function createComment(string $data): DOMComment {}
964
967
969 public function createElement(string $localName, string $value = "") {}
970
972 public function createElementNS(?string $namespace, string $qualifiedName, string $value = "") {}
973
975 public function createEntityReference(string $name) {}
976
978 public function createProcessingInstruction(string $target, string $data = "") {}
979
981 public function createTextNode(string $data): DOMText {}
982
984 public function getElementById(string $elementId): ?DOMElement {}
985
990 public function getElementsByTagName(string $qualifiedName): DOMNodeList {}
991
996 public function getElementsByTagNameNS(?string $namespace, string $localName): DOMNodeList {}
997
999 public function importNode(DOMNode $node, bool $deep = false) {}
1000
1002 public function load(string $filename, int $options = 0): bool {}
1003
1005 public function loadXML(string $source, int $options = 0): bool {}
1006
1008 public function normalizeDocument(): void {}
1009
1011 public function registerNodeClass(string $baseClass, ?string $extendedClass): true {}
1012
1014 public function save(string $filename, int $options = 0): int|false {}
1015
1016#ifdef LIBXML_HTML_ENABLED
1018 public function loadHTML(string $source, int $options = 0): bool {}
1019
1021 public function loadHTMLFile(string $filename, int $options = 0): bool {}
1022
1024 public function saveHTML(?DOMNode $node = null): string|false {}
1025
1027 public function saveHTMLFile(string $filename): int|false {}
1028#endif
1029
1031 public function saveXML(?DOMNode $node = null, int $options = 0): string|false {}
1032
1033#ifdef LIBXML_SCHEMAS_ENABLED
1035 public function schemaValidate(string $filename, int $flags = 0): bool {}
1036
1038 public function schemaValidateSource(string $source, int $flags = 0): bool {}
1039
1041 public function relaxNGValidate(string $filename): bool {}
1042
1044 public function relaxNGValidateSource(string $source): bool {}
1045#endif
1046
1048 public function validate(): bool {}
1049
1051 public function xinclude(int $options = 0): int|false {}
1052
1054 public function adoptNode(DOMNode $node): DOMNode|false {}
1055
1060 public function append(...$nodes): void {}
1061
1066 public function prepend(...$nodes): void {}
1067
1069 public function replaceChildren(...$nodes): void {}
1070 }
1071
1072 /** @alias Dom\DOMException */
1073 final class DOMException extends Exception
1074 {
1079 public $code = 0; // TODO add proper type (i.e. int|string)
1080 }
1082 class DOMText extends DOMCharacterData
1083 {
1088 public string $wholeText;
1090 public function __construct(string $data = "") {}
1091
1093 public function isWhitespaceInElementContent(): bool {}
1094
1099 public function isElementContentWhitespace(): bool {}
1100
1102 public function splitText(int $offset) {}
1103 }
1106 {
1111 public int $length;
1112
1114 public function getNamedItem(string $qualifiedName): ?DOMNode {}
1115
1117 public function getNamedItemNS(?string $namespace, string $localName): ?DOMNode {}
1118
1120 public function item(int $index): ?DOMNode {}
1121
1123 public function count(): int {}
1125 public function getIterator(): Iterator {}
1126 }
1128 class DOMEntity extends DOMNode
1129 {
1134 public ?string $publicId;
1135
1140 public ?string $systemId;
1141
1146 public ?string $notationName;
1147
1153 public ?string $actualEncoding;
1154
1160 public ?string $encoding;
1161
1167 public ?string $version;
1168 }
1170 class DOMEntityReference extends DOMNode
1172 public function __construct(string $name) {}
1173 }
1175 class DOMNotation extends DOMNode
1176 {
1181 public string $publicId;
1182
1187 public string $systemId;
1188 }
1190 class DOMProcessingInstruction extends DOMNode
1191 {
1196 public string $target;
1197
1199 public string $data;
1201 public function __construct(string $name, string $value = "") {}
1202 }
1203
1204#ifdef LIBXML_XPATH_ENABLED
1205 /** @not-serializable */
1206 class DOMXPath
1207 {
1212 public DOMDocument $document;
1213
1215 public bool $registerNodeNamespaces;
1217 public function __construct(DOMDocument $document, bool $registerNodeNS = true) {}
1218
1220 public function evaluate(string $expression, ?DOMNode $contextNode = null, bool $registerNodeNS = true): mixed {}
1221
1223 public function query(string $expression, ?DOMNode $contextNode = null, bool $registerNodeNS = true): mixed {}
1224
1226 public function registerNamespace(string $prefix, string $namespace): bool {}
1227
1229 public function registerPhpFunctions(string|array|null $restrict = null): void {}
1231 public function registerPhpFunctionNS(string $namespaceURI, string $name, callable $callable): void {}
1233 public static function quote(string $str): string {}
1234 }
1235#endif
1238}
1239
1240namespace Dom
1241{
1246 const INDEX_SIZE_ERR = UNKNOWN;
1251 const STRING_SIZE_ERR = UNKNOWN;
1256 const HIERARCHY_REQUEST_ERR = UNKNOWN;
1261 const WRONG_DOCUMENT_ERR = UNKNOWN;
1266 const INVALID_CHARACTER_ERR = UNKNOWN;
1271 const NO_DATA_ALLOWED_ERR = UNKNOWN;
1276 const NO_MODIFICATION_ALLOWED_ERR = UNKNOWN;
1281 const NOT_FOUND_ERR = UNKNOWN;
1286 const NOT_SUPPORTED_ERR = UNKNOWN;
1291 const INUSE_ATTRIBUTE_ERR = UNKNOWN;
1296 const INVALID_STATE_ERR = UNKNOWN;
1301 const SYNTAX_ERR = UNKNOWN;
1306 const INVALID_MODIFICATION_ERR = UNKNOWN;
1311 const NAMESPACE_ERR = UNKNOWN;
1316 const VALIDATION_ERR = UNKNOWN;
1317
1322 const HTML_NO_DEFAULT_NS = UNKNOWN;
1324 interface ParentNode
1326 public function append(Node|string ...$nodes): void;
1327 public function prepend(Node|string ...$nodes): void;
1328 public function replaceChildren(Node|string ...$nodes): void;
1330 public function querySelector(string $selectors): ?Element;
1331 public function querySelectorAll(string $selectors): NodeList;
1332 }
1334 interface ChildNode
1336 public function remove(): void;
1337 public function before(Node|string ...$nodes): void;
1338 public function after(Node|string ...$nodes): void;
1339 public function replaceWith(Node|string ...$nodes): void;
1340 }
1341
1346 class Implementation
1348 public function createDocumentType(string $qualifiedName, string $publicId, string $systemId): DocumentType {}
1350 public function createDocument(?string $namespace, string $qualifiedName, ?DocumentType $doctype = null): XMLDocument {}
1352 public function createHTMLDocument(?string $title = null): HTMLDocument {}
1353 }
1354
1355 /** @strict-properties */
1356 class Node
1357 {
1358 private final function __construct() {}
1359
1364 public int $nodeType;
1369 public string $nodeName;
1370
1375 public string $baseURI;
1376
1381 public bool $isConnected;
1386 public ?Document $ownerDocument;
1387
1389 public function getRootNode(array $options = []): Node {}
1394 public ?Node $parentNode;
1399 public ?Element $parentElement;
1401 public function hasChildNodes(): bool {}
1406 public NodeList $childNodes;
1411 public ?Node $firstChild;
1416 public ?Node $lastChild;
1421 public ?Node $previousSibling;
1426 public ?Node $nextSibling;
1427
1429 public ?string $nodeValue;
1431 public ?string $textContent;
1433 public function normalize(): void {}
1434
1436 public function cloneNode(bool $deep = false): Node {}
1437 public function isEqualNode(?Node $otherNode): bool {}
1438 public function isSameNode(?Node $otherNode): bool {}
1440 public const int DOCUMENT_POSITION_DISCONNECTED = 0x01;
1441 public const int DOCUMENT_POSITION_PRECEDING = 0x02;
1442 public const int DOCUMENT_POSITION_FOLLOWING = 0x04;
1443 public const int DOCUMENT_POSITION_CONTAINS = 0x08;
1444 public const int DOCUMENT_POSITION_CONTAINED_BY = 0x10;
1446 public function compareDocumentPosition(Node $other): int {}
1447 public function contains(?Node $other): bool {}
1449 public function lookupPrefix(?string $namespace): ?string {}
1451 public function lookupNamespaceURI(?string $prefix): ?string {}
1452 public function isDefaultNamespace(?string $namespace): bool {}
1454 public function insertBefore(Node $node, ?Node $child): Node {}
1455 public function appendChild(Node $node): Node {}
1456 public function replaceChild(Node $node, Node $child): Node {}
1457 public function removeChild(Node $child): Node {}
1458
1460 public function getLineNo(): int {}
1461 public function getNodePath(): string {}
1462
1464 public function C14N(bool $exclusive = false, bool $withComments = false, ?array $xpath = null, ?array $nsPrefixes = null): string|false {}
1466 public function C14NFile(string $uri, bool $exclusive = false, bool $withComments = false, ?array $xpath = null, ?array $nsPrefixes = null): int|false {}
1467
1469 public function __sleep(): array {}
1471 public function __wakeup(): void {}
1472 }
1474 class NodeList implements \IteratorAggregate, \Countable
1475 {
1480 public int $length;
1481
1483 public function count(): int {}
1484
1486 public function getIterator(): \Iterator {}
1487
1489 public function item(int $index): ?Node {}
1490 }
1492 class NamedNodeMap implements \IteratorAggregate, \Countable
1493 {
1498 public int $length;
1499
1501 public function item(int $index): ?Attr {}
1503 public function getNamedItem(string $qualifiedName): ?Attr {}
1505 public function getNamedItemNS(?string $namespace, string $localName): ?Attr {}
1506
1508 public function count(): int {}
1509
1511 public function getIterator(): \Iterator {}
1512 }
1514 class DtdNamedNodeMap implements \IteratorAggregate, \Countable
1515 {
1520 public int $length;
1521
1523 public function item(int $index): Entity|Notation|null {}
1525 public function getNamedItem(string $qualifiedName): Entity|Notation|null {}
1527 public function getNamedItemNS(?string $namespace, string $localName): Entity|Notation|null {}
1528
1530 public function count(): int {}
1531
1533 public function getIterator(): \Iterator {}
1534 }
1536 class HTMLCollection implements \IteratorAggregate, \Countable
1537 {
1542 public int $length;
1543
1545 public function item(int $index): ?Element {}
1547 public function namedItem(string $key): ?Element {}
1548
1550 public function count(): int {}
1551
1553 public function getIterator(): \Iterator {}
1554 }
1556 enum AdjacentPosition : string
1557 {
1558 case BeforeBegin = "beforebegin";
1559 case AfterBegin = "afterbegin";
1560 case BeforeEnd = "beforeend";
1561 case AfterEnd = "afterend";
1562 }
1564 class Element extends Node implements ParentNode, ChildNode
1565 {
1570 public ?string $namespaceURI;
1575 public ?string $prefix;
1580 public string $localName;
1585 public string $tagName;
1586
1588 public string $id;
1590 public string $className;
1592 public TokenList $classList;
1593
1595 public function hasAttributes(): bool {}
1602 public function getAttributeNames(): array {}
1604 public function getAttribute(string $qualifiedName): ?string {}
1606 public function getAttributeNS(?string $namespace, string $localName): ?string {}
1608 public function setAttribute(string $qualifiedName, string $value): void {}
1610 public function setAttributeNS(?string $namespace, string $qualifiedName, string $value): void {}
1611 public function removeAttribute(string $qualifiedName): void {}
1613 public function removeAttributeNS(?string $namespace, string $localName): void {}
1615 public function toggleAttribute(string $qualifiedName, ?bool $force = null): bool {}
1617 public function hasAttribute(string $qualifiedName): bool {}
1619 public function hasAttributeNS(?string $namespace, string $localName): bool {}
1620
1622 public function getAttributeNode(string $qualifiedName): ?Attr {}
1624 public function getAttributeNodeNS(?string $namespace, string $localName): ?Attr {}
1628 public function removeAttributeNode(Attr $attr) : Attr {}
1630 public function getElementsByTagName(string $qualifiedName): HTMLCollection {}
1631 public function getElementsByTagNameNS(?string $namespace, string $localName): HTMLCollection {}
1634 public function insertAdjacentText(AdjacentPosition $where, string $data): void {}
1635
1645 public ?Element $lastElementChild;
1650 public int $childElementCount;
1661
1663 public function setIdAttribute(string $qualifiedName, bool $isId): void {}
1665 public function setIdAttributeNS(?string $namespace, string $qualifiedName, bool $isId): void {}
1666 public function setIdAttributeNode(Attr $attr, bool $isId): void {}
1667
1669 public function remove(): void {}
1671 public function before(Node|string ...$nodes): void {}
1673 public function after(Node|string ...$nodes): void {}
1675 public function replaceWith(Node|string ...$nodes): void {}
1677 public function append(Node|string ...$nodes): void {}
1679 public function prepend(Node|string ...$nodes): void {}
1681 public function replaceChildren(Node|string ...$nodes): void {}
1683 public function querySelector(string $selectors): ?Element {}
1684 public function querySelectorAll(string $selectors): NodeList {}
1685 public function closest(string $selectors): ?Element {}
1686 public function matches(string $selectors): bool {}
1687
1689 public string $innerHTML;
1690
1692 public string $substitutedNodeValue;
1693
1695 public function getInScopeNamespaces(): array {}
1696
1698 public function getDescendantNamespaces(): array {}
1700 public function rename(?string $namespaceURI, string $qualifiedName): void {}
1701 }
1703 class HTMLElement extends Element
1704 {
1705 }
1707 class Attr extends Node
1708 {
1713 public ?string $namespaceURI;
1718 public ?string $prefix;
1723 public string $localName;
1728 public string $name;
1730 public string $value;
1731
1736 public ?Element $ownerElement;
1737
1742 public bool $specified;
1743
1745 public function isId(): bool {}
1746
1748 public function rename(?string $namespaceURI, string $qualifiedName): void {}
1749 }
1751 class CharacterData extends Node implements ChildNode
1752 {
1763
1765 public string $data;
1770 public int $length;
1772 public function substringData(int $offset, int $count): string {}
1773 public function appendData(string $data): void {}
1774 public function insertData(int $offset, string $data): void {}
1775 public function deleteData(int $offset, int $count): void {}
1776 public function replaceData(int $offset, int $count, string $data): void {}
1777
1779 public function remove(): void {}
1781 public function before(Node|string ...$nodes): void {}
1783 public function after(Node|string ...$nodes): void {}
1785 public function replaceWith(Node|string ...$nodes): void {}
1786 }
1788 class Text extends CharacterData
1789 {
1790 /* No constructor because Node has a final private constructor, so PHP does not allow overriding that. */
1791
1793 public function splitText(int $offset): Text {}
1798 public string $wholeText;
1799 }
1801 class CDATASection extends Text {}
1804 {
1809 public string $target;
1810 }
1812 class Comment extends CharacterData
1813 {
1814 /* No constructor because Node has a final private constructor, so PHP does not allow overriding that. */
1815 }
1817 class DocumentType extends Node implements ChildNode
1818 {
1823 public string $name;
1838 public string $publicId;
1843 public string $systemId;
1848 public ?string $internalSubset;
1849
1851 public function remove(): void {}
1853 public function before(Node|string ...$nodes): void {}
1855 public function after(Node|string ...$nodes): void {}
1857 public function replaceWith(Node|string ...$nodes): void {}
1858 }
1860 class DocumentFragment extends Node implements ParentNode
1861 {
1871 public ?Element $lastElementChild;
1876 public int $childElementCount;
1877
1879 public function appendXml(string $data): bool {}
1881 public function append(Node|string ...$nodes): void {}
1883 public function prepend(Node|string ...$nodes): void {}
1885 public function replaceChildren(Node|string ...$nodes): void {}
1886
1888 public function querySelector(string $selectors): ?Element {}
1890 public function querySelectorAll(string $selectors): NodeList {}
1891 }
1893 class Entity extends Node
1894 {
1899 public ?string $publicId;
1904 public ?string $systemId;
1909 public ?string $notationName;
1910 }
1912 class EntityReference extends Node {}
1914 class Notation extends Node
1915 {
1920 public string $publicId;
1925 public string $systemId;
1926 }
1928 abstract class Document extends Node implements ParentNode
1929 {
1933 public string $URL;
1935 public string $documentURI;
1937 public string $characterSet;
1939 public string $charset;
1941 public string $inputEncoding;
1942
1947 public ?DocumentType $doctype;
1952 public ?Element $documentElement;
1954 public function getElementsByTagName(string $qualifiedName): HTMLCollection {}
1956 public function getElementsByTagNameNS(?string $namespace, string $localName): HTMLCollection {}
1958 public function createElement(string $localName): Element {}
1959 public function createElementNS(?string $namespace, string $qualifiedName): Element {}
1963 public function createTextNode(string $data): Text {}
1968 public function createProcessingInstruction(string $target, string $data): ProcessingInstruction {}
1970 public function importNode(?Node $node, bool $deep = false): Node {}
1971 public function adoptNode(Node $node): Node {}
1972
1974 public function createAttribute(string $localName): Attr {}
1976 public function createAttributeNS(?string $namespace, string $qualifiedName): Attr {}
1977
1987 public ?Element $lastElementChild;
1992 public int $childElementCount;
1993
1995 public function getElementById(string $elementId): ?Element {}
1997 public function registerNodeClass(string $baseClass, ?string $extendedClass): void {}
1998
1999#ifdef LIBXML_SCHEMAS_ENABLED
2001 public function schemaValidate(string $filename, int $flags = 0): bool {}
2003 public function schemaValidateSource(string $source, int $flags = 0): bool {}
2005 public function relaxNgValidate(string $filename): bool {}
2007 public function relaxNgValidateSource(string $source): bool {}
2008#endif
2009
2011 public function append(Node|string ...$nodes): void {}
2013 public function prepend(Node|string ...$nodes): void {}
2015 public function replaceChildren(Node|string ...$nodes): void {}
2017 public function importLegacyNode(\DOMNode $node, bool $deep = false): Node {}
2018
2020 public function querySelector(string $selectors): ?Element {}
2022 public function querySelectorAll(string $selectors): NodeList {}
2023
2025 public ?HTMLElement $body;
2030 public ?HTMLElement $head;
2032 public string $title;
2033 }
2035 final class HTMLDocument extends Document
2037 public static function createEmpty(string $encoding = "UTF-8"): HTMLDocument {}
2039 public static function createFromFile(string $path, int $options = 0, ?string $overrideEncoding = null): HTMLDocument {}
2041 public static function createFromString(string $source, int $options = 0, ?string $overrideEncoding = null): HTMLDocument {}
2042
2044 public function saveXml(?Node $node = null, int $options = 0): string|false {}
2045
2047 public function saveXmlFile(string $filename, int $options = 0): int|false {}
2049 public function saveHtml(?Node $node = null): string {}
2051 public function saveHtmlFile(string $filename): int|false {}
2052
2053#if ZEND_DEBUG
2054 public function debugGetTemplateCount(): int {}
2055#endif
2056 }
2058 final class XMLDocument extends Document
2060 public static function createEmpty(string $version = "1.0", string $encoding = "UTF-8"): XMLDocument {}
2062 public static function createFromFile(string $path, int $options = 0, ?string $overrideEncoding = null): XMLDocument {}
2064 public static function createFromString(string $source, int $options = 0, ?string $overrideEncoding = null): XMLDocument {}
2065
2070 public string $xmlEncoding;
2071
2073 public bool $xmlStandalone;
2074
2076 public string $xmlVersion;
2077
2079 public bool $formatOutput;
2080
2082 public function createEntityReference(string $name): EntityReference {}
2083
2085 public function validate(): bool {}
2087 public function xinclude(int $options = 0): int {}
2089 public function saveXml(?Node $node = null, int $options = 0): string|false {}
2090
2092 public function saveXmlFile(string $filename, int $options = 0): int|false {}
2093 }
2094
2099 final class TokenList implements \IteratorAggregate, \Countable
2100 {
2102 private function __construct() {}
2103
2108 public int $length;
2109 public function item(int $index): ?string {}
2110 public function contains(string $token): bool {}
2111 public function add(string ...$tokens): void {}
2112 public function remove(string ...$tokens): void {}
2113 public function toggle(string $token, ?bool $force = null): bool {}
2114 public function replace(string $token, string $newToken): bool {}
2115 public function supports(string $token): bool {}
2117 public string $value;
2119 public function count(): int {}
2121 public function getIterator(): \Iterator {}
2122 }
2123
2128 readonly final class NamespaceInfo
2130 public ?string $prefix;
2131 public ?string $namespaceURI;
2132 public Element $element;
2133
2135 private function __construct() {}
2136 }
2137
2138#ifdef LIBXML_XPATH_ENABLED
2139 /** @not-serializable */
2140 final class XPath
2141 {
2146 public Document $document;
2147
2149 public bool $registerNodeNamespaces;
2151 public function __construct(Document $document, bool $registerNodeNS = true) {}
2153 public function evaluate(string $expression, ?Node $contextNode = null, bool $registerNodeNS = true): null|bool|float|string|NodeList {}
2155 public function query(string $expression, ?Node $contextNode = null, bool $registerNodeNS = true): NodeList {}
2156
2158 public function registerNamespace(string $prefix, string $namespace): bool {}
2159
2161 public function registerPhpFunctions(string|array|null $restrict = null): void {}
2162
2164 public function registerPhpFunctionNS(string $namespaceURI, string $name, callable $callable): void {}
2165
2167 public static function quote(string $str): string {}
2168 }
2169#endif
2172}
count(Countable|array $value, int $mode=COUNT_NORMAL)
__construct(string $name, string $value="")
mixed $schemaTypeInfo
DOMElement $ownerElement
string $name
bool $specified
string $value
__construct(string $data)
before(... $nodes)
replaceWith(... $nodes)
DOMElement $nextElementSibling
insertData(int $offset, string $data)
deleteData(int $offset, int $count)
replaceData(int $offset, int $count, string $data)
substringData(int $offset, int $count)
after(... $nodes)
DOMElement $previousElementSibling
appendData(string $data)
__construct(string $data="")
DOMElement $lastElementChild
replaceChildren(... $nodes)
DOMElement $firstElementChild
appendXML(string $data)
DOMNamedNodeMap $notations
DOMNamedNodeMap $entities
createElement(string $localName, string $value="")
loadHTMLFile(string $filename, int $options=0)
append(... $nodes)
bool $preserveWhiteSpace
createAttributeNS(?string $namespace, string $qualifiedName)
saveHTMLFile(string $filename)
createCDATASection(string $data)
replaceChildren(... $nodes)
createElementNS(?string $namespace, string $qualifiedName, string $value="")
adoptNode(DOMNode $node)
createAttribute(string $localName)
DOMImplementation $implementation
createProcessingInstruction(string $target, string $data="")
bool $substituteEntities
string $xmlVersion
string $xmlEncoding
createTextNode(string $data)
getElementsByTagNameNS(?string $namespace, string $localName)
getElementById(string $elementId)
saveXML(?DOMNode $node=null, int $options=0)
createComment(string $data)
string $actualEncoding
__construct(string $version="1.0", string $encoding="")
bool $strictErrorChecking
getElementsByTagName(string $qualifiedName)
prepend(... $nodes)
DOMElement $firstElementChild
bool $resolveExternals
string $documentURI
relaxNGValidateSource(string $source)
registerNodeClass(string $baseClass, ?string $extendedClass)
loadXML(string $source, int $options=0)
DOMElement $documentElement
save(string $filename, int $options=0)
DOMElement $lastElementChild
createEntityReference(string $name)
schemaValidate(string $filename, int $flags=0)
loadHTML(string $source, int $options=0)
saveHTML(?DOMNode $node=null)
relaxNGValidate(string $filename)
bool $validateOnParse
schemaValidateSource(string $source, int $flags=0)
DOMDocumentType $doctype
importNode(DOMNode $node, bool $deep=false)
load(string $filename, int $options=0)
xinclude(int $options=0)
hasAttribute(string $qualifiedName)
DOMElement $firstElementChild
string $className
hasAttributeNS(?string $namespace, string $localName)
replaceWith(... $nodes)
insertAdjacentText(string $where, string $data)
DOMElement $nextElementSibling
setIdAttributeNS(string $namespace, string $qualifiedName, bool $isId)
getAttributeNode(string $qualifiedName)
string $tagName
DOMElement $previousElementSibling
replaceChildren(... $nodes)
before(... $nodes)
getElementsByTagNameNS(?string $namespace, string $localName)
DOMElement $lastElementChild
getAttributeNodeNS(?string $namespace, string $localName)
setIdAttributeNode(DOMAttr $attr, bool $isId)
setAttributeNS(?string $namespace, string $qualifiedName, string $value)
setAttributeNodeNS(DOMAttr $attr)
prepend(... $nodes)
insertAdjacentElement(string $where, DOMElement $element)
toggleAttribute(string $qualifiedName, ?bool $force=null)
__construct(string $qualifiedName, ?string $value=null, string $namespace="")
removeAttributeNode(DOMAttr $attr)
getElementsByTagName(string $qualifiedName)
removeAttributeNS(?string $namespace, string $localName)
removeAttribute(string $qualifiedName)
getAttributeNS(?string $namespace, string $localName)
setAttribute(string $qualifiedName, string $value)
append(... $nodes)
setAttributeNode(DOMAttr $attr)
mixed $schemaTypeInfo
setIdAttribute(string $qualifiedName, bool $isId)
after(... $nodes)
getAttribute(string $qualifiedName)
int $childElementCount
__construct(string $name)
string $actualEncoding
string $systemId
string $publicId
string $notationName
string $encoding
string $version
createDocument(?string $namespace=null, string $qualifiedName="", ?DOMDocumentType $doctype=null)
createDocumentType(string $qualifiedName, string $publicId="", string $systemId="")
hasFeature(string $feature, string $version)
DOMElement $parentElement
DOMDocument $ownerDocument
getNamedItem(string $qualifiedName)
getNamedItemNS(?string $namespace, string $localName)
item(int $index)
DOMNamedNodeMap $attributes
DOMNode $previousSibling
C14NFile(string $uri, bool $exclusive=false, bool $withComments=false, ?array $xpath=null, ?array $nsPrefixes=null)
DOMNodeList $childNodes
string $prefix
DOMElement $parentElement
string $localName
C14N(bool $exclusive=false, bool $withComments=false, ?array $xpath=null, ?array $nsPrefixes=null)
string $nodeName
DOMNode $firstChild
const int DOCUMENT_POSITION_FOLLOWING
string $baseURI
getRootNode(?array $options=null)
const int DOCUMENT_POSITION_DISCONNECTED
bool $isConnected
const int DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC
DOMNode $parentNode
isEqualNode(?DOMNode $otherNode)
const int DOCUMENT_POSITION_PRECEDING
appendChild(DOMNode $node)
compareDocumentPosition(DOMNode $other)
lookupPrefix(string $namespace)
string $namespaceURI
replaceChild(DOMNode $node, DOMNode $child)
const int DOCUMENT_POSITION_CONTAINS
DOMNode $lastChild
lookupNamespaceURI(?string $prefix)
removeChild(DOMNode $child)
string $nodeValue
const int DOCUMENT_POSITION_CONTAINED_BY
cloneNode(bool $deep=false)
isSupported(string $feature, string $version)
DOMNode $nextSibling
insertBefore(DOMNode $node, ?DOMNode $child=null)
isSameNode(DOMNode $otherNode)
string $textContent
isDefaultNamespace(string $namespace)
DOMDocument $ownerDocument
contains(DOMNode|DOMNameSpaceNode|null $other)
__construct(string $name, string $value="")
string $wholeText
isWhitespaceInElementContent()
__construct(string $data="")
splitText(int $offset)
isElementContentWhitespace()
bool $registerNodeNamespaces
query(string $expression, ?DOMNode $contextNode=null, bool $registerNodeNS=true)
DOMDocument $document
registerPhpFunctionNS(string $namespaceURI, string $name, callable $callable)
static quote(string $str)
registerPhpFunctions(string|array|null $restrict=null)
evaluate(string $expression, ?DOMNode $contextNode=null, bool $registerNodeNS=true)
registerNamespace(string $prefix, string $namespace)
__construct(DOMDocument $document, bool $registerNodeNS=true)
rename(?string $namespaceURI, string $qualifiedName)
Element $ownerElement
string $namespaceURI
string $value
string $localName
string $prefix
appendData(string $data)
insertData(int $offset, string $data)
replaceWith(Node|string ... $nodes)
substringData(int $offset, int $count)
after(Node|string ... $nodes)
Element $previousElementSibling
deleteData(int $offset, int $count)
replaceData(int $offset, int $count, string $data)
before(Node|string ... $nodes)
querySelectorAll(string $selectors)
querySelector(string $selectors)
append(Node|string ... $nodes)
replaceChildren(Node|string ... $nodes)
appendXml(string $data)
prepend(Node|string ... $nodes)
replaceWith(Node|string ... $nodes)
DtdNamedNodeMap $notations
after(Node|string ... $nodes)
DtdNamedNodeMap $entities
before(Node|string ... $nodes)
Element $lastElementChild
querySelectorAll(string $selectors)
replaceChildren(Node|string ... $nodes)
schemaValidate(string $filename, int $flags=0)
HTMLElement $head
importNode(?Node $node, bool $deep=false)
getElementsByTagName(string $qualifiedName)
HTMLElement $body
createElement(string $localName)
importLegacyNode(\DOMNode $node, bool $deep=false)
DocumentType $doctype
createCDATASection(string $data)
Implementation $implementation
relaxNgValidateSource(string $source)
createTextNode(string $data)
string $inputEncoding
getElementsByTagNameNS(?string $namespace, string $localName)
adoptNode(Node $node)
querySelector(string $selectors)
relaxNgValidate(string $filename)
prepend(Node|string ... $nodes)
createElementNS(?string $namespace, string $qualifiedName)
Element $documentElement
createAttributeNS(?string $namespace, string $qualifiedName)
createAttribute(string $localName)
Element $firstElementChild
createProcessingInstruction(string $target, string $data)
schemaValidateSource(string $source, int $flags=0)
createComment(string $data)
registerNodeClass(string $baseClass, ?string $extendedClass)
append(Node|string ... $nodes)
getElementById(string $elementId)
getNamedItemNS(?string $namespace, string $localName)
getNamedItem(string $qualifiedName)
setAttributeNS(?string $namespace, string $qualifiedName, string $value)
getAttribute(string $qualifiedName)
getElementsByTagNameNS(?string $namespace, string $localName)
removeAttributeNode(Attr $attr)
setIdAttribute(string $qualifiedName, bool $isId)
rename(?string $namespaceURI, string $qualifiedName)
setAttributeNodeNS(Attr $attr)
string $substitutedNodeValue
before(Node|string ... $nodes)
Element $nextElementSibling
setAttribute(string $qualifiedName, string $value)
TokenList $classList
getAttributeNS(?string $namespace, string $localName)
setIdAttributeNode(Attr $attr, bool $isId)
removeAttribute(string $qualifiedName)
replaceWith(Node|string ... $nodes)
querySelectorAll(string $selectors)
Element $previousElementSibling
append(Node|string ... $nodes)
replaceChildren(Node|string ... $nodes)
matches(string $selectors)
setAttributeNode(Attr $attr)
hasAttribute(string $qualifiedName)
setIdAttributeNS(?string $namespace, string $qualifiedName, bool $isId)
insertAdjacentText(AdjacentPosition $where, string $data)
hasAttributeNS(?string $namespace, string $localName)
insertAdjacentElement(AdjacentPosition $where, Element $element)
Element $firstElementChild
Element $lastElementChild
NamedNodeMap $attributes
prepend(Node|string ... $nodes)
getAttributeNode(string $qualifiedName)
closest(string $selectors)
querySelector(string $selectors)
toggleAttribute(string $qualifiedName, ?bool $force=null)
removeAttributeNS(?string $namespace, string $localName)
getElementsByTagName(string $qualifiedName)
string $namespaceURI
after(Node|string ... $nodes)
getAttributeNodeNS(?string $namespace, string $localName)
string $notationName
namedItem(string $key)
static createFromFile(string $path, int $options=0, ?string $overrideEncoding=null)
saveXml(?Node $node=null, int $options=0)
saveXmlFile(string $filename, int $options=0)
saveHtml(?Node $node=null)
static createEmpty(string $encoding="UTF-8")
saveHtmlFile(string $filename)
static createFromString(string $source, int $options=0, ?string $overrideEncoding=null)
createDocument(?string $namespace, string $qualifiedName, ?DocumentType $doctype=null)
createHTMLDocument(?string $title=null)
createDocumentType(string $qualifiedName, string $publicId, string $systemId)
getNamedItem(string $qualifiedName)
getNamedItemNS(?string $namespace, string $localName)
item(int $index)
isSameNode(?Node $otherNode)
string $nodeValue
isEqualNode(?Node $otherNode)
bool $isConnected
NodeList $childNodes
contains(?Node $other)
isDefaultNamespace(?string $namespace)
C14NFile(string $uri, bool $exclusive=false, bool $withComments=false, ?array $xpath=null, ?array $nsPrefixes=null)
string $baseURI
Document $ownerDocument
const int DOCUMENT_POSITION_CONTAINS
const int DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC
Node $previousSibling
const int DOCUMENT_POSITION_PRECEDING
replaceChild(Node $node, Node $child)
insertBefore(Node $node, ?Node $child)
lookupPrefix(?string $namespace)
lookupNamespaceURI(?string $prefix)
compareDocumentPosition(Node $other)
string $nodeName
C14N(bool $exclusive=false, bool $withComments=false, ?array $xpath=null, ?array $nsPrefixes=null)
const int DOCUMENT_POSITION_FOLLOWING
string $textContent
const int DOCUMENT_POSITION_DISCONNECTED
appendChild(Node $node)
const int DOCUMENT_POSITION_CONTAINED_BY
getRootNode(array $options=[])
removeChild(Node $child)
Element $parentElement
Node $nextSibling
cloneNode(bool $deep=false)
splitText(int $offset)
string $wholeText
add(string ... $tokens)
item(int $index)
contains(string $token)
supports(string $token)
toggle(string $token, ?bool $force=null)
remove(string ... $tokens)
replace(string $token, string $newToken)
static createFromFile(string $path, int $options=0, ?string $overrideEncoding=null)
createEntityReference(string $name)
saveXmlFile(string $filename, int $options=0)
saveXml(?Node $node=null, int $options=0)
static createEmpty(string $version="1.0", string $encoding="UTF-8")
static createFromString(string $source, int $options=0, ?string $overrideEncoding=null)
xinclude(int $options=0)
query(string $expression, ?Node $contextNode=null, bool $registerNodeNS=true)
bool $registerNodeNamespaces
registerPhpFunctions(string|array|null $restrict=null)
registerPhpFunctionNS(string $namespaceURI, string $name, callable $callable)
Document $document
registerNamespace(string $prefix, string $namespace)
__construct(Document $document, bool $registerNodeNS=true)
evaluate(string $expression, ?Node $contextNode=null, bool $registerNodeNS=true)
static quote(string $str)
$filename
Definition create.php:9
@ DOMSTRING_SIZE_ERR
$data
Definition bench.php:6
if(PHP_SAPI !='cli') if($argc< 1) $options
Definition ext_skel.php:376
foreach($dp as $el) foreach( $dp as $el) if( $pass2< 2) echo ""
replaceWith(... $nodes)
before(... $nodes)
after(... $nodes)
append(... $nodes)
replaceChildren(... $nodes)
prepend(... $nodes)
after(Node|string ... $nodes)
before(Node|string ... $nodes)
replaceWith(Node|string ... $nodes)
querySelectorAll(string $selectors)
prepend(Node|string ... $nodes)
append(Node|string ... $nodes)
querySelector(string $selectors)
replaceChildren(Node|string ... $nodes)
const NO_DATA_ALLOWED_ERR
import_simplexml(object $node)
const STRING_SIZE_ERR
const HTML_NO_DEFAULT_NS
const NOT_FOUND_ERR
const NOT_SUPPORTED_ERR
const VALIDATION_ERR
const INVALID_MODIFICATION_ERR
const INDEX_SIZE_ERR
const INUSE_ATTRIBUTE_ERR
const WRONG_DOCUMENT_ERR
const NAMESPACE_ERR
const SYNTAX_ERR
const INVALID_CHARACTER_ERR
const NO_MODIFICATION_ALLOWED_ERR
const INVALID_STATE_ERR
const HIERARCHY_REQUEST_ERR
phar_globals readonly
Definition phar.c:3346
const DOM_INVALID_MODIFICATION_ERR
const DOM_NOT_FOUND_ERR
const XML_DOCUMENT_TYPE_NODE
const DOM_WRONG_DOCUMENT_ERR
const XML_NAMESPACE_DECL_NODE
const DOM_INDEX_SIZE_ERR
const XML_ATTRIBUTE_ID
const DOM_NO_MODIFICATION_ALLOWED_ERR
const DOM_INVALID_ACCESS_ERR
const XML_ENTITY_DECL_NODE
dom_import_simplexml(object $node)
const XML_ATTRIBUTE_IDREFS
const DOM_PHP_ERR
const XML_ELEMENT_DECL_NODE
const XML_DTD_NODE
const DOM_HIERARCHY_REQUEST_ERR
const XML_ATTRIBUTE_DECL_NODE
const XML_HTML_DOCUMENT_NODE
const XML_ATTRIBUTE_NOTATION
const DOM_NOT_SUPPORTED_ERR
const XML_ATTRIBUTE_NMTOKEN
const XML_ATTRIBUTE_CDATA
const XML_PI_NODE
const DOM_INVALID_STATE_ERR
const XML_TEXT_NODE
const XML_ELEMENT_NODE
const DOM_INVALID_CHARACTER_ERR
const XML_ATTRIBUTE_ENUMERATION
const XML_ATTRIBUTE_NODE
const DOM_NAMESPACE_ERR
const XML_DOCUMENT_NODE
const DOM_INUSE_ATTRIBUTE_ERR
const DOM_VALIDATION_ERR
const XML_COMMENT_NODE
const XML_ATTRIBUTE_ENTITY
const XML_LOCAL_NAMESPACE
const XML_CDATA_SECTION_NODE
const XML_DOCUMENT_FRAG_NODE
const XML_ENTITY_NODE
const XML_ATTRIBUTE_IDREF
const DOM_SYNTAX_ERR
const DOM_NO_DATA_ALLOWED_ERR
const XML_NOTATION_NODE
const XML_ATTRIBUTE_NMTOKENS
const XML_ENTITY_REF_NODE
ZEND_API void(ZEND_FASTCALL *zend_touch_vm_stack_data)(void *vm_stack_data)
function(EX_VAR(opline->result.var))
object
$prefix