php_dom_arginfo.h 87 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675
  1. /* This is a generated file, edit the .stub.php file instead.
  2. * Stub hash: 74698bea9c5e0635cf91345e8512b9677489510c */
  3. ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_dom_import_simplexml, 0, 1, DOMElement, 0)
  4. ZEND_ARG_TYPE_INFO(0, node, IS_OBJECT, 0)
  5. ZEND_END_ARG_INFO()
  6. ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DOMCdataSection___construct, 0, 0, 1)
  7. ZEND_ARG_TYPE_INFO(0, data, IS_STRING, 0)
  8. ZEND_END_ARG_INFO()
  9. ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DOMComment___construct, 0, 0, 0)
  10. ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, data, IS_STRING, 0, "\"\"")
  11. ZEND_END_ARG_INFO()
  12. ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_DOMParentNode_append, 0, 0, IS_VOID, 0)
  13. ZEND_ARG_VARIADIC_INFO(0, nodes)
  14. ZEND_END_ARG_INFO()
  15. #define arginfo_class_DOMParentNode_prepend arginfo_class_DOMParentNode_append
  16. ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_DOMChildNode_remove, 0, 0, IS_VOID, 0)
  17. ZEND_END_ARG_INFO()
  18. #define arginfo_class_DOMChildNode_before arginfo_class_DOMParentNode_append
  19. #define arginfo_class_DOMChildNode_after arginfo_class_DOMParentNode_append
  20. #define arginfo_class_DOMChildNode_replaceWith arginfo_class_DOMParentNode_append
  21. ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DOMNode_appendChild, 0, 0, 1)
  22. ZEND_ARG_OBJ_INFO(0, node, DOMNode, 0)
  23. ZEND_END_ARG_INFO()
  24. ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_MASK_EX(arginfo_class_DOMNode_C14N, 0, 0, MAY_BE_STRING|MAY_BE_FALSE)
  25. ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, exclusive, _IS_BOOL, 0, "false")
  26. ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, withComments, _IS_BOOL, 0, "false")
  27. ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, xpath, IS_ARRAY, 1, "null")
  28. ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, nsPrefixes, IS_ARRAY, 1, "null")
  29. ZEND_END_ARG_INFO()
  30. ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_MASK_EX(arginfo_class_DOMNode_C14NFile, 0, 1, MAY_BE_LONG|MAY_BE_FALSE)
  31. ZEND_ARG_TYPE_INFO(0, uri, IS_STRING, 0)
  32. ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, exclusive, _IS_BOOL, 0, "false")
  33. ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, withComments, _IS_BOOL, 0, "false")
  34. ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, xpath, IS_ARRAY, 1, "null")
  35. ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, nsPrefixes, IS_ARRAY, 1, "null")
  36. ZEND_END_ARG_INFO()
  37. ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DOMNode_cloneNode, 0, 0, 0)
  38. ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, deep, _IS_BOOL, 0, "false")
  39. ZEND_END_ARG_INFO()
  40. ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_DOMNode_getLineNo, 0, 0, IS_LONG, 0)
  41. ZEND_END_ARG_INFO()
  42. ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_DOMNode_getNodePath, 0, 0, IS_STRING, 1)
  43. ZEND_END_ARG_INFO()
  44. ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_DOMNode_hasAttributes, 0, 0, _IS_BOOL, 0)
  45. ZEND_END_ARG_INFO()
  46. #define arginfo_class_DOMNode_hasChildNodes arginfo_class_DOMNode_hasAttributes
  47. ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DOMNode_insertBefore, 0, 0, 1)
  48. ZEND_ARG_OBJ_INFO(0, node, DOMNode, 0)
  49. ZEND_ARG_OBJ_INFO_WITH_DEFAULT_VALUE(0, child, DOMNode, 1, "null")
  50. ZEND_END_ARG_INFO()
  51. ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_DOMNode_isDefaultNamespace, 0, 1, _IS_BOOL, 0)
  52. ZEND_ARG_TYPE_INFO(0, namespace, IS_STRING, 0)
  53. ZEND_END_ARG_INFO()
  54. ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_DOMNode_isSameNode, 0, 1, _IS_BOOL, 0)
  55. ZEND_ARG_OBJ_INFO(0, otherNode, DOMNode, 0)
  56. ZEND_END_ARG_INFO()
  57. ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_DOMNode_isSupported, 0, 2, _IS_BOOL, 0)
  58. ZEND_ARG_TYPE_INFO(0, feature, IS_STRING, 0)
  59. ZEND_ARG_TYPE_INFO(0, version, IS_STRING, 0)
  60. ZEND_END_ARG_INFO()
  61. ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_DOMNode_lookupNamespaceURI, 0, 1, IS_STRING, 1)
  62. ZEND_ARG_TYPE_INFO(0, prefix, IS_STRING, 1)
  63. ZEND_END_ARG_INFO()
  64. ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_DOMNode_lookupPrefix, 0, 1, IS_STRING, 1)
  65. ZEND_ARG_TYPE_INFO(0, namespace, IS_STRING, 0)
  66. ZEND_END_ARG_INFO()
  67. ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_DOMNode_normalize, 0, 0, IS_VOID, 0)
  68. ZEND_END_ARG_INFO()
  69. ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DOMNode_removeChild, 0, 0, 1)
  70. ZEND_ARG_OBJ_INFO(0, child, DOMNode, 0)
  71. ZEND_END_ARG_INFO()
  72. ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DOMNode_replaceChild, 0, 0, 2)
  73. ZEND_ARG_OBJ_INFO(0, node, DOMNode, 0)
  74. ZEND_ARG_OBJ_INFO(0, child, DOMNode, 0)
  75. ZEND_END_ARG_INFO()
  76. ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_DOMImplementation_getFeature, 0, 2, IS_NEVER, 0)
  77. ZEND_ARG_TYPE_INFO(0, feature, IS_STRING, 0)
  78. ZEND_ARG_TYPE_INFO(0, version, IS_STRING, 0)
  79. ZEND_END_ARG_INFO()
  80. #define arginfo_class_DOMImplementation_hasFeature arginfo_class_DOMNode_isSupported
  81. ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DOMImplementation_createDocumentType, 0, 0, 1)
  82. ZEND_ARG_TYPE_INFO(0, qualifiedName, IS_STRING, 0)
  83. ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, publicId, IS_STRING, 0, "\"\"")
  84. ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, systemId, IS_STRING, 0, "\"\"")
  85. ZEND_END_ARG_INFO()
  86. ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DOMImplementation_createDocument, 0, 0, 0)
  87. ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, namespace, IS_STRING, 1, "null")
  88. ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, qualifiedName, IS_STRING, 0, "\"\"")
  89. ZEND_ARG_OBJ_INFO_WITH_DEFAULT_VALUE(0, doctype, DOMDocumentType, 1, "null")
  90. ZEND_END_ARG_INFO()
  91. ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DOMDocumentFragment___construct, 0, 0, 0)
  92. ZEND_END_ARG_INFO()
  93. ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_DOMDocumentFragment_appendXML, 0, 1, _IS_BOOL, 0)
  94. ZEND_ARG_TYPE_INFO(0, data, IS_STRING, 0)
  95. ZEND_END_ARG_INFO()
  96. #define arginfo_class_DOMDocumentFragment_append arginfo_class_DOMParentNode_append
  97. #define arginfo_class_DOMDocumentFragment_prepend arginfo_class_DOMParentNode_append
  98. #define arginfo_class_DOMNodeList_count arginfo_class_DOMNode_getLineNo
  99. ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_DOMNodeList_getIterator, 0, 0, Iterator, 0)
  100. ZEND_END_ARG_INFO()
  101. ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DOMNodeList_item, 0, 0, 1)
  102. ZEND_ARG_TYPE_INFO(0, index, IS_LONG, 0)
  103. ZEND_END_ARG_INFO()
  104. #define arginfo_class_DOMCharacterData_appendData arginfo_class_DOMDocumentFragment_appendXML
  105. ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DOMCharacterData_substringData, 0, 0, 2)
  106. ZEND_ARG_TYPE_INFO(0, offset, IS_LONG, 0)
  107. ZEND_ARG_TYPE_INFO(0, count, IS_LONG, 0)
  108. ZEND_END_ARG_INFO()
  109. ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_DOMCharacterData_insertData, 0, 2, _IS_BOOL, 0)
  110. ZEND_ARG_TYPE_INFO(0, offset, IS_LONG, 0)
  111. ZEND_ARG_TYPE_INFO(0, data, IS_STRING, 0)
  112. ZEND_END_ARG_INFO()
  113. ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_DOMCharacterData_deleteData, 0, 2, _IS_BOOL, 0)
  114. ZEND_ARG_TYPE_INFO(0, offset, IS_LONG, 0)
  115. ZEND_ARG_TYPE_INFO(0, count, IS_LONG, 0)
  116. ZEND_END_ARG_INFO()
  117. ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_DOMCharacterData_replaceData, 0, 3, _IS_BOOL, 0)
  118. ZEND_ARG_TYPE_INFO(0, offset, IS_LONG, 0)
  119. ZEND_ARG_TYPE_INFO(0, count, IS_LONG, 0)
  120. ZEND_ARG_TYPE_INFO(0, data, IS_STRING, 0)
  121. ZEND_END_ARG_INFO()
  122. #define arginfo_class_DOMCharacterData_replaceWith arginfo_class_DOMParentNode_append
  123. #define arginfo_class_DOMCharacterData_remove arginfo_class_DOMChildNode_remove
  124. #define arginfo_class_DOMCharacterData_before arginfo_class_DOMParentNode_append
  125. #define arginfo_class_DOMCharacterData_after arginfo_class_DOMParentNode_append
  126. ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DOMAttr___construct, 0, 0, 1)
  127. ZEND_ARG_TYPE_INFO(0, name, IS_STRING, 0)
  128. ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, value, IS_STRING, 0, "\"\"")
  129. ZEND_END_ARG_INFO()
  130. #define arginfo_class_DOMAttr_isId arginfo_class_DOMNode_hasAttributes
  131. ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DOMElement___construct, 0, 0, 1)
  132. ZEND_ARG_TYPE_INFO(0, qualifiedName, IS_STRING, 0)
  133. ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, value, IS_STRING, 1, "null")
  134. ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, namespace, IS_STRING, 0, "\"\"")
  135. ZEND_END_ARG_INFO()
  136. ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_DOMElement_getAttribute, 0, 1, IS_STRING, 0)
  137. ZEND_ARG_TYPE_INFO(0, qualifiedName, IS_STRING, 0)
  138. ZEND_END_ARG_INFO()
  139. ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_DOMElement_getAttributeNS, 0, 2, IS_STRING, 0)
  140. ZEND_ARG_TYPE_INFO(0, namespace, IS_STRING, 1)
  141. ZEND_ARG_TYPE_INFO(0, localName, IS_STRING, 0)
  142. ZEND_END_ARG_INFO()
  143. ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DOMElement_getAttributeNode, 0, 0, 1)
  144. ZEND_ARG_TYPE_INFO(0, qualifiedName, IS_STRING, 0)
  145. ZEND_END_ARG_INFO()
  146. ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DOMElement_getAttributeNodeNS, 0, 0, 2)
  147. ZEND_ARG_TYPE_INFO(0, namespace, IS_STRING, 1)
  148. ZEND_ARG_TYPE_INFO(0, localName, IS_STRING, 0)
  149. ZEND_END_ARG_INFO()
  150. ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_OBJ_INFO_EX(arginfo_class_DOMElement_getElementsByTagName, 0, 1, DOMNodeList, 0)
  151. ZEND_ARG_TYPE_INFO(0, qualifiedName, IS_STRING, 0)
  152. ZEND_END_ARG_INFO()
  153. ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_OBJ_INFO_EX(arginfo_class_DOMElement_getElementsByTagNameNS, 0, 2, DOMNodeList, 0)
  154. ZEND_ARG_TYPE_INFO(0, namespace, IS_STRING, 1)
  155. ZEND_ARG_TYPE_INFO(0, localName, IS_STRING, 0)
  156. ZEND_END_ARG_INFO()
  157. ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_DOMElement_hasAttribute, 0, 1, _IS_BOOL, 0)
  158. ZEND_ARG_TYPE_INFO(0, qualifiedName, IS_STRING, 0)
  159. ZEND_END_ARG_INFO()
  160. ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_DOMElement_hasAttributeNS, 0, 2, _IS_BOOL, 0)
  161. ZEND_ARG_TYPE_INFO(0, namespace, IS_STRING, 1)
  162. ZEND_ARG_TYPE_INFO(0, localName, IS_STRING, 0)
  163. ZEND_END_ARG_INFO()
  164. #define arginfo_class_DOMElement_removeAttribute arginfo_class_DOMElement_hasAttribute
  165. ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_DOMElement_removeAttributeNS, 0, 2, IS_VOID, 0)
  166. ZEND_ARG_TYPE_INFO(0, namespace, IS_STRING, 1)
  167. ZEND_ARG_TYPE_INFO(0, localName, IS_STRING, 0)
  168. ZEND_END_ARG_INFO()
  169. ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DOMElement_removeAttributeNode, 0, 0, 1)
  170. ZEND_ARG_OBJ_INFO(0, attr, DOMAttr, 0)
  171. ZEND_END_ARG_INFO()
  172. ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DOMElement_setAttribute, 0, 0, 2)
  173. ZEND_ARG_TYPE_INFO(0, qualifiedName, IS_STRING, 0)
  174. ZEND_ARG_TYPE_INFO(0, value, IS_STRING, 0)
  175. ZEND_END_ARG_INFO()
  176. ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_DOMElement_setAttributeNS, 0, 3, IS_VOID, 0)
  177. ZEND_ARG_TYPE_INFO(0, namespace, IS_STRING, 1)
  178. ZEND_ARG_TYPE_INFO(0, qualifiedName, IS_STRING, 0)
  179. ZEND_ARG_TYPE_INFO(0, value, IS_STRING, 0)
  180. ZEND_END_ARG_INFO()
  181. #define arginfo_class_DOMElement_setAttributeNode arginfo_class_DOMElement_removeAttributeNode
  182. #define arginfo_class_DOMElement_setAttributeNodeNS arginfo_class_DOMElement_removeAttributeNode
  183. ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_DOMElement_setIdAttribute, 0, 2, IS_VOID, 0)
  184. ZEND_ARG_TYPE_INFO(0, qualifiedName, IS_STRING, 0)
  185. ZEND_ARG_TYPE_INFO(0, isId, _IS_BOOL, 0)
  186. ZEND_END_ARG_INFO()
  187. ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_DOMElement_setIdAttributeNS, 0, 3, IS_VOID, 0)
  188. ZEND_ARG_TYPE_INFO(0, namespace, IS_STRING, 0)
  189. ZEND_ARG_TYPE_INFO(0, qualifiedName, IS_STRING, 0)
  190. ZEND_ARG_TYPE_INFO(0, isId, _IS_BOOL, 0)
  191. ZEND_END_ARG_INFO()
  192. ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_DOMElement_setIdAttributeNode, 0, 2, IS_VOID, 0)
  193. ZEND_ARG_OBJ_INFO(0, attr, DOMAttr, 0)
  194. ZEND_ARG_TYPE_INFO(0, isId, _IS_BOOL, 0)
  195. ZEND_END_ARG_INFO()
  196. #define arginfo_class_DOMElement_remove arginfo_class_DOMChildNode_remove
  197. #define arginfo_class_DOMElement_before arginfo_class_DOMParentNode_append
  198. #define arginfo_class_DOMElement_after arginfo_class_DOMParentNode_append
  199. #define arginfo_class_DOMElement_replaceWith arginfo_class_DOMParentNode_append
  200. #define arginfo_class_DOMElement_append arginfo_class_DOMParentNode_append
  201. #define arginfo_class_DOMElement_prepend arginfo_class_DOMParentNode_append
  202. ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DOMDocument___construct, 0, 0, 0)
  203. ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, version, IS_STRING, 0, "\"1.0\"")
  204. ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, encoding, IS_STRING, 0, "\"\"")
  205. ZEND_END_ARG_INFO()
  206. ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DOMDocument_createAttribute, 0, 0, 1)
  207. ZEND_ARG_TYPE_INFO(0, localName, IS_STRING, 0)
  208. ZEND_END_ARG_INFO()
  209. ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DOMDocument_createAttributeNS, 0, 0, 2)
  210. ZEND_ARG_TYPE_INFO(0, namespace, IS_STRING, 1)
  211. ZEND_ARG_TYPE_INFO(0, qualifiedName, IS_STRING, 0)
  212. ZEND_END_ARG_INFO()
  213. #define arginfo_class_DOMDocument_createCDATASection arginfo_class_DOMCdataSection___construct
  214. ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_OBJ_INFO_EX(arginfo_class_DOMDocument_createComment, 0, 1, DOMComment, 0)
  215. ZEND_ARG_TYPE_INFO(0, data, IS_STRING, 0)
  216. ZEND_END_ARG_INFO()
  217. ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_OBJ_INFO_EX(arginfo_class_DOMDocument_createDocumentFragment, 0, 0, DOMDocumentFragment, 0)
  218. ZEND_END_ARG_INFO()
  219. ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DOMDocument_createElement, 0, 0, 1)
  220. ZEND_ARG_TYPE_INFO(0, localName, IS_STRING, 0)
  221. ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, value, IS_STRING, 0, "\"\"")
  222. ZEND_END_ARG_INFO()
  223. ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DOMDocument_createElementNS, 0, 0, 2)
  224. ZEND_ARG_TYPE_INFO(0, namespace, IS_STRING, 1)
  225. ZEND_ARG_TYPE_INFO(0, qualifiedName, IS_STRING, 0)
  226. ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, value, IS_STRING, 0, "\"\"")
  227. ZEND_END_ARG_INFO()
  228. ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DOMDocument_createEntityReference, 0, 0, 1)
  229. ZEND_ARG_TYPE_INFO(0, name, IS_STRING, 0)
  230. ZEND_END_ARG_INFO()
  231. ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DOMDocument_createProcessingInstruction, 0, 0, 1)
  232. ZEND_ARG_TYPE_INFO(0, target, IS_STRING, 0)
  233. ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, data, IS_STRING, 0, "\"\"")
  234. ZEND_END_ARG_INFO()
  235. ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_OBJ_INFO_EX(arginfo_class_DOMDocument_createTextNode, 0, 1, DOMText, 0)
  236. ZEND_ARG_TYPE_INFO(0, data, IS_STRING, 0)
  237. ZEND_END_ARG_INFO()
  238. ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_OBJ_INFO_EX(arginfo_class_DOMDocument_getElementById, 0, 1, DOMElement, 1)
  239. ZEND_ARG_TYPE_INFO(0, elementId, IS_STRING, 0)
  240. ZEND_END_ARG_INFO()
  241. #define arginfo_class_DOMDocument_getElementsByTagName arginfo_class_DOMElement_getElementsByTagName
  242. #define arginfo_class_DOMDocument_getElementsByTagNameNS arginfo_class_DOMElement_getElementsByTagNameNS
  243. ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DOMDocument_importNode, 0, 0, 1)
  244. ZEND_ARG_OBJ_INFO(0, node, DOMNode, 0)
  245. ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, deep, _IS_BOOL, 0, "false")
  246. ZEND_END_ARG_INFO()
  247. ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DOMDocument_load, 0, 0, 1)
  248. ZEND_ARG_TYPE_INFO(0, filename, IS_STRING, 0)
  249. ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, options, IS_LONG, 0, "0")
  250. ZEND_END_ARG_INFO()
  251. ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DOMDocument_loadXML, 0, 0, 1)
  252. ZEND_ARG_TYPE_INFO(0, source, IS_STRING, 0)
  253. ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, options, IS_LONG, 0, "0")
  254. ZEND_END_ARG_INFO()
  255. #define arginfo_class_DOMDocument_normalizeDocument arginfo_class_DOMNode_normalize
  256. ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_DOMDocument_registerNodeClass, 0, 2, _IS_BOOL, 0)
  257. ZEND_ARG_TYPE_INFO(0, baseClass, IS_STRING, 0)
  258. ZEND_ARG_TYPE_INFO(0, extendedClass, IS_STRING, 1)
  259. ZEND_END_ARG_INFO()
  260. ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_MASK_EX(arginfo_class_DOMDocument_save, 0, 1, MAY_BE_LONG|MAY_BE_FALSE)
  261. ZEND_ARG_TYPE_INFO(0, filename, IS_STRING, 0)
  262. ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, options, IS_LONG, 0, "0")
  263. ZEND_END_ARG_INFO()
  264. #if defined(LIBXML_HTML_ENABLED)
  265. ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DOMDocument_loadHTML, 0, 0, 1)
  266. ZEND_ARG_TYPE_INFO(0, source, IS_STRING, 0)
  267. ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, options, IS_LONG, 0, "0")
  268. ZEND_END_ARG_INFO()
  269. #endif
  270. #if defined(LIBXML_HTML_ENABLED)
  271. ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DOMDocument_loadHTMLFile, 0, 0, 1)
  272. ZEND_ARG_TYPE_INFO(0, filename, IS_STRING, 0)
  273. ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, options, IS_LONG, 0, "0")
  274. ZEND_END_ARG_INFO()
  275. #endif
  276. #if defined(LIBXML_HTML_ENABLED)
  277. ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_MASK_EX(arginfo_class_DOMDocument_saveHTML, 0, 0, MAY_BE_STRING|MAY_BE_FALSE)
  278. ZEND_ARG_OBJ_INFO_WITH_DEFAULT_VALUE(0, node, DOMNode, 1, "null")
  279. ZEND_END_ARG_INFO()
  280. #endif
  281. #if defined(LIBXML_HTML_ENABLED)
  282. ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_MASK_EX(arginfo_class_DOMDocument_saveHTMLFile, 0, 1, MAY_BE_LONG|MAY_BE_FALSE)
  283. ZEND_ARG_TYPE_INFO(0, filename, IS_STRING, 0)
  284. ZEND_END_ARG_INFO()
  285. #endif
  286. ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_MASK_EX(arginfo_class_DOMDocument_saveXML, 0, 0, MAY_BE_STRING|MAY_BE_FALSE)
  287. ZEND_ARG_OBJ_INFO_WITH_DEFAULT_VALUE(0, node, DOMNode, 1, "null")
  288. ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, options, IS_LONG, 0, "0")
  289. ZEND_END_ARG_INFO()
  290. #if defined(LIBXML_SCHEMAS_ENABLED)
  291. ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_DOMDocument_schemaValidate, 0, 1, _IS_BOOL, 0)
  292. ZEND_ARG_TYPE_INFO(0, filename, IS_STRING, 0)
  293. ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, flags, IS_LONG, 0, "0")
  294. ZEND_END_ARG_INFO()
  295. #endif
  296. #if defined(LIBXML_SCHEMAS_ENABLED)
  297. ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_DOMDocument_schemaValidateSource, 0, 1, _IS_BOOL, 0)
  298. ZEND_ARG_TYPE_INFO(0, source, IS_STRING, 0)
  299. ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, flags, IS_LONG, 0, "0")
  300. ZEND_END_ARG_INFO()
  301. #endif
  302. #if defined(LIBXML_SCHEMAS_ENABLED)
  303. ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_DOMDocument_relaxNGValidate, 0, 1, _IS_BOOL, 0)
  304. ZEND_ARG_TYPE_INFO(0, filename, IS_STRING, 0)
  305. ZEND_END_ARG_INFO()
  306. #endif
  307. #if defined(LIBXML_SCHEMAS_ENABLED)
  308. ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_DOMDocument_relaxNGValidateSource, 0, 1, _IS_BOOL, 0)
  309. ZEND_ARG_TYPE_INFO(0, source, IS_STRING, 0)
  310. ZEND_END_ARG_INFO()
  311. #endif
  312. #define arginfo_class_DOMDocument_validate arginfo_class_DOMNode_hasAttributes
  313. ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_MASK_EX(arginfo_class_DOMDocument_xinclude, 0, 0, MAY_BE_LONG|MAY_BE_FALSE)
  314. ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, options, IS_LONG, 0, "0")
  315. ZEND_END_ARG_INFO()
  316. #define arginfo_class_DOMDocument_adoptNode arginfo_class_DOMNode_appendChild
  317. #define arginfo_class_DOMDocument_append arginfo_class_DOMParentNode_append
  318. #define arginfo_class_DOMDocument_prepend arginfo_class_DOMParentNode_append
  319. #define arginfo_class_DOMText___construct arginfo_class_DOMComment___construct
  320. #define arginfo_class_DOMText_isWhitespaceInElementContent arginfo_class_DOMNode_hasAttributes
  321. #define arginfo_class_DOMText_isElementContentWhitespace arginfo_class_DOMNode_hasAttributes
  322. ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DOMText_splitText, 0, 0, 1)
  323. ZEND_ARG_TYPE_INFO(0, offset, IS_LONG, 0)
  324. ZEND_END_ARG_INFO()
  325. ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_OBJ_INFO_EX(arginfo_class_DOMNamedNodeMap_getNamedItem, 0, 1, DOMNode, 1)
  326. ZEND_ARG_TYPE_INFO(0, qualifiedName, IS_STRING, 0)
  327. ZEND_END_ARG_INFO()
  328. ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_OBJ_INFO_EX(arginfo_class_DOMNamedNodeMap_getNamedItemNS, 0, 2, DOMNode, 1)
  329. ZEND_ARG_TYPE_INFO(0, namespace, IS_STRING, 1)
  330. ZEND_ARG_TYPE_INFO(0, localName, IS_STRING, 0)
  331. ZEND_END_ARG_INFO()
  332. ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_OBJ_INFO_EX(arginfo_class_DOMNamedNodeMap_item, 0, 1, DOMNode, 1)
  333. ZEND_ARG_TYPE_INFO(0, index, IS_LONG, 0)
  334. ZEND_END_ARG_INFO()
  335. #define arginfo_class_DOMNamedNodeMap_count arginfo_class_DOMNode_getLineNo
  336. #define arginfo_class_DOMNamedNodeMap_getIterator arginfo_class_DOMNodeList_getIterator
  337. #define arginfo_class_DOMEntityReference___construct arginfo_class_DOMDocument_createEntityReference
  338. #define arginfo_class_DOMProcessingInstruction___construct arginfo_class_DOMAttr___construct
  339. #if defined(LIBXML_XPATH_ENABLED)
  340. ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DOMXPath___construct, 0, 0, 1)
  341. ZEND_ARG_OBJ_INFO(0, document, DOMDocument, 0)
  342. ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, registerNodeNS, _IS_BOOL, 0, "true")
  343. ZEND_END_ARG_INFO()
  344. #endif
  345. #if defined(LIBXML_XPATH_ENABLED)
  346. ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_DOMXPath_evaluate, 0, 1, IS_MIXED, 0)
  347. ZEND_ARG_TYPE_INFO(0, expression, IS_STRING, 0)
  348. ZEND_ARG_OBJ_INFO_WITH_DEFAULT_VALUE(0, contextNode, DOMNode, 1, "null")
  349. ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, registerNodeNS, _IS_BOOL, 0, "true")
  350. ZEND_END_ARG_INFO()
  351. #endif
  352. #if defined(LIBXML_XPATH_ENABLED)
  353. #define arginfo_class_DOMXPath_query arginfo_class_DOMXPath_evaluate
  354. #endif
  355. #if defined(LIBXML_XPATH_ENABLED)
  356. ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_DOMXPath_registerNamespace, 0, 2, _IS_BOOL, 0)
  357. ZEND_ARG_TYPE_INFO(0, prefix, IS_STRING, 0)
  358. ZEND_ARG_TYPE_INFO(0, namespace, IS_STRING, 0)
  359. ZEND_END_ARG_INFO()
  360. #endif
  361. #if defined(LIBXML_XPATH_ENABLED)
  362. ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_DOMXPath_registerPhpFunctions, 0, 0, IS_VOID, 0)
  363. ZEND_ARG_TYPE_MASK(0, restrict, MAY_BE_STRING|MAY_BE_ARRAY|MAY_BE_NULL, "null")
  364. ZEND_END_ARG_INFO()
  365. #endif
  366. ZEND_FUNCTION(dom_import_simplexml);
  367. ZEND_METHOD(DOMCdataSection, __construct);
  368. ZEND_METHOD(DOMComment, __construct);
  369. ZEND_METHOD(DOMNode, appendChild);
  370. ZEND_METHOD(DOMNode, C14N);
  371. ZEND_METHOD(DOMNode, C14NFile);
  372. ZEND_METHOD(DOMNode, cloneNode);
  373. ZEND_METHOD(DOMNode, getLineNo);
  374. ZEND_METHOD(DOMNode, getNodePath);
  375. ZEND_METHOD(DOMNode, hasAttributes);
  376. ZEND_METHOD(DOMNode, hasChildNodes);
  377. ZEND_METHOD(DOMNode, insertBefore);
  378. ZEND_METHOD(DOMNode, isDefaultNamespace);
  379. ZEND_METHOD(DOMNode, isSameNode);
  380. ZEND_METHOD(DOMNode, isSupported);
  381. ZEND_METHOD(DOMNode, lookupNamespaceURI);
  382. ZEND_METHOD(DOMNode, lookupPrefix);
  383. ZEND_METHOD(DOMNode, normalize);
  384. ZEND_METHOD(DOMNode, removeChild);
  385. ZEND_METHOD(DOMNode, replaceChild);
  386. ZEND_METHOD(DOMImplementation, getFeature);
  387. ZEND_METHOD(DOMImplementation, hasFeature);
  388. ZEND_METHOD(DOMImplementation, createDocumentType);
  389. ZEND_METHOD(DOMImplementation, createDocument);
  390. ZEND_METHOD(DOMDocumentFragment, __construct);
  391. ZEND_METHOD(DOMDocumentFragment, appendXML);
  392. ZEND_METHOD(DOMDocumentFragment, append);
  393. ZEND_METHOD(DOMDocumentFragment, prepend);
  394. ZEND_METHOD(DOMNodeList, count);
  395. ZEND_METHOD(DOMNodeList, getIterator);
  396. ZEND_METHOD(DOMNodeList, item);
  397. ZEND_METHOD(DOMCharacterData, appendData);
  398. ZEND_METHOD(DOMCharacterData, substringData);
  399. ZEND_METHOD(DOMCharacterData, insertData);
  400. ZEND_METHOD(DOMCharacterData, deleteData);
  401. ZEND_METHOD(DOMCharacterData, replaceData);
  402. ZEND_METHOD(DOMCharacterData, replaceWith);
  403. ZEND_METHOD(DOMCharacterData, remove);
  404. ZEND_METHOD(DOMCharacterData, before);
  405. ZEND_METHOD(DOMCharacterData, after);
  406. ZEND_METHOD(DOMAttr, __construct);
  407. ZEND_METHOD(DOMAttr, isId);
  408. ZEND_METHOD(DOMElement, __construct);
  409. ZEND_METHOD(DOMElement, getAttribute);
  410. ZEND_METHOD(DOMElement, getAttributeNS);
  411. ZEND_METHOD(DOMElement, getAttributeNode);
  412. ZEND_METHOD(DOMElement, getAttributeNodeNS);
  413. ZEND_METHOD(DOMElement, getElementsByTagName);
  414. ZEND_METHOD(DOMElement, getElementsByTagNameNS);
  415. ZEND_METHOD(DOMElement, hasAttribute);
  416. ZEND_METHOD(DOMElement, hasAttributeNS);
  417. ZEND_METHOD(DOMElement, removeAttribute);
  418. ZEND_METHOD(DOMElement, removeAttributeNS);
  419. ZEND_METHOD(DOMElement, removeAttributeNode);
  420. ZEND_METHOD(DOMElement, setAttribute);
  421. ZEND_METHOD(DOMElement, setAttributeNS);
  422. ZEND_METHOD(DOMElement, setAttributeNode);
  423. ZEND_METHOD(DOMElement, setAttributeNodeNS);
  424. ZEND_METHOD(DOMElement, setIdAttribute);
  425. ZEND_METHOD(DOMElement, setIdAttributeNS);
  426. ZEND_METHOD(DOMElement, setIdAttributeNode);
  427. ZEND_METHOD(DOMElement, remove);
  428. ZEND_METHOD(DOMElement, before);
  429. ZEND_METHOD(DOMElement, after);
  430. ZEND_METHOD(DOMElement, replaceWith);
  431. ZEND_METHOD(DOMElement, append);
  432. ZEND_METHOD(DOMElement, prepend);
  433. ZEND_METHOD(DOMDocument, __construct);
  434. ZEND_METHOD(DOMDocument, createAttribute);
  435. ZEND_METHOD(DOMDocument, createAttributeNS);
  436. ZEND_METHOD(DOMDocument, createCDATASection);
  437. ZEND_METHOD(DOMDocument, createComment);
  438. ZEND_METHOD(DOMDocument, createDocumentFragment);
  439. ZEND_METHOD(DOMDocument, createElement);
  440. ZEND_METHOD(DOMDocument, createElementNS);
  441. ZEND_METHOD(DOMDocument, createEntityReference);
  442. ZEND_METHOD(DOMDocument, createProcessingInstruction);
  443. ZEND_METHOD(DOMDocument, createTextNode);
  444. ZEND_METHOD(DOMDocument, getElementById);
  445. ZEND_METHOD(DOMDocument, getElementsByTagName);
  446. ZEND_METHOD(DOMDocument, getElementsByTagNameNS);
  447. ZEND_METHOD(DOMDocument, importNode);
  448. ZEND_METHOD(DOMDocument, load);
  449. ZEND_METHOD(DOMDocument, loadXML);
  450. ZEND_METHOD(DOMDocument, normalizeDocument);
  451. ZEND_METHOD(DOMDocument, registerNodeClass);
  452. ZEND_METHOD(DOMDocument, save);
  453. #if defined(LIBXML_HTML_ENABLED)
  454. ZEND_METHOD(DOMDocument, loadHTML);
  455. #endif
  456. #if defined(LIBXML_HTML_ENABLED)
  457. ZEND_METHOD(DOMDocument, loadHTMLFile);
  458. #endif
  459. #if defined(LIBXML_HTML_ENABLED)
  460. ZEND_METHOD(DOMDocument, saveHTML);
  461. #endif
  462. #if defined(LIBXML_HTML_ENABLED)
  463. ZEND_METHOD(DOMDocument, saveHTMLFile);
  464. #endif
  465. ZEND_METHOD(DOMDocument, saveXML);
  466. #if defined(LIBXML_SCHEMAS_ENABLED)
  467. ZEND_METHOD(DOMDocument, schemaValidate);
  468. #endif
  469. #if defined(LIBXML_SCHEMAS_ENABLED)
  470. ZEND_METHOD(DOMDocument, schemaValidateSource);
  471. #endif
  472. #if defined(LIBXML_SCHEMAS_ENABLED)
  473. ZEND_METHOD(DOMDocument, relaxNGValidate);
  474. #endif
  475. #if defined(LIBXML_SCHEMAS_ENABLED)
  476. ZEND_METHOD(DOMDocument, relaxNGValidateSource);
  477. #endif
  478. ZEND_METHOD(DOMDocument, validate);
  479. ZEND_METHOD(DOMDocument, xinclude);
  480. ZEND_METHOD(DOMDocument, adoptNode);
  481. ZEND_METHOD(DOMDocument, append);
  482. ZEND_METHOD(DOMDocument, prepend);
  483. ZEND_METHOD(DOMText, __construct);
  484. ZEND_METHOD(DOMText, isWhitespaceInElementContent);
  485. ZEND_METHOD(DOMText, splitText);
  486. ZEND_METHOD(DOMNamedNodeMap, getNamedItem);
  487. ZEND_METHOD(DOMNamedNodeMap, getNamedItemNS);
  488. ZEND_METHOD(DOMNamedNodeMap, item);
  489. ZEND_METHOD(DOMNamedNodeMap, count);
  490. ZEND_METHOD(DOMNamedNodeMap, getIterator);
  491. ZEND_METHOD(DOMEntityReference, __construct);
  492. ZEND_METHOD(DOMProcessingInstruction, __construct);
  493. #if defined(LIBXML_XPATH_ENABLED)
  494. ZEND_METHOD(DOMXPath, __construct);
  495. #endif
  496. #if defined(LIBXML_XPATH_ENABLED)
  497. ZEND_METHOD(DOMXPath, evaluate);
  498. #endif
  499. #if defined(LIBXML_XPATH_ENABLED)
  500. ZEND_METHOD(DOMXPath, query);
  501. #endif
  502. #if defined(LIBXML_XPATH_ENABLED)
  503. ZEND_METHOD(DOMXPath, registerNamespace);
  504. #endif
  505. #if defined(LIBXML_XPATH_ENABLED)
  506. ZEND_METHOD(DOMXPath, registerPhpFunctions);
  507. #endif
  508. static const zend_function_entry ext_functions[] = {
  509. ZEND_FE(dom_import_simplexml, arginfo_dom_import_simplexml)
  510. ZEND_FE_END
  511. };
  512. static const zend_function_entry class_DOMDocumentType_methods[] = {
  513. ZEND_FE_END
  514. };
  515. static const zend_function_entry class_DOMCdataSection_methods[] = {
  516. ZEND_ME(DOMCdataSection, __construct, arginfo_class_DOMCdataSection___construct, ZEND_ACC_PUBLIC)
  517. ZEND_FE_END
  518. };
  519. static const zend_function_entry class_DOMComment_methods[] = {
  520. ZEND_ME(DOMComment, __construct, arginfo_class_DOMComment___construct, ZEND_ACC_PUBLIC)
  521. ZEND_FE_END
  522. };
  523. static const zend_function_entry class_DOMParentNode_methods[] = {
  524. ZEND_ABSTRACT_ME_WITH_FLAGS(DOMParentNode, append, arginfo_class_DOMParentNode_append, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
  525. ZEND_ABSTRACT_ME_WITH_FLAGS(DOMParentNode, prepend, arginfo_class_DOMParentNode_prepend, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
  526. ZEND_FE_END
  527. };
  528. static const zend_function_entry class_DOMChildNode_methods[] = {
  529. ZEND_ABSTRACT_ME_WITH_FLAGS(DOMChildNode, remove, arginfo_class_DOMChildNode_remove, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
  530. ZEND_ABSTRACT_ME_WITH_FLAGS(DOMChildNode, before, arginfo_class_DOMChildNode_before, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
  531. ZEND_ABSTRACT_ME_WITH_FLAGS(DOMChildNode, after, arginfo_class_DOMChildNode_after, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
  532. ZEND_ABSTRACT_ME_WITH_FLAGS(DOMChildNode, replaceWith, arginfo_class_DOMChildNode_replaceWith, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
  533. ZEND_FE_END
  534. };
  535. static const zend_function_entry class_DOMNode_methods[] = {
  536. ZEND_ME(DOMNode, appendChild, arginfo_class_DOMNode_appendChild, ZEND_ACC_PUBLIC)
  537. ZEND_ME(DOMNode, C14N, arginfo_class_DOMNode_C14N, ZEND_ACC_PUBLIC)
  538. ZEND_ME(DOMNode, C14NFile, arginfo_class_DOMNode_C14NFile, ZEND_ACC_PUBLIC)
  539. ZEND_ME(DOMNode, cloneNode, arginfo_class_DOMNode_cloneNode, ZEND_ACC_PUBLIC)
  540. ZEND_ME(DOMNode, getLineNo, arginfo_class_DOMNode_getLineNo, ZEND_ACC_PUBLIC)
  541. ZEND_ME(DOMNode, getNodePath, arginfo_class_DOMNode_getNodePath, ZEND_ACC_PUBLIC)
  542. ZEND_ME(DOMNode, hasAttributes, arginfo_class_DOMNode_hasAttributes, ZEND_ACC_PUBLIC)
  543. ZEND_ME(DOMNode, hasChildNodes, arginfo_class_DOMNode_hasChildNodes, ZEND_ACC_PUBLIC)
  544. ZEND_ME(DOMNode, insertBefore, arginfo_class_DOMNode_insertBefore, ZEND_ACC_PUBLIC)
  545. ZEND_ME(DOMNode, isDefaultNamespace, arginfo_class_DOMNode_isDefaultNamespace, ZEND_ACC_PUBLIC)
  546. ZEND_ME(DOMNode, isSameNode, arginfo_class_DOMNode_isSameNode, ZEND_ACC_PUBLIC)
  547. ZEND_ME(DOMNode, isSupported, arginfo_class_DOMNode_isSupported, ZEND_ACC_PUBLIC)
  548. ZEND_ME(DOMNode, lookupNamespaceURI, arginfo_class_DOMNode_lookupNamespaceURI, ZEND_ACC_PUBLIC)
  549. ZEND_ME(DOMNode, lookupPrefix, arginfo_class_DOMNode_lookupPrefix, ZEND_ACC_PUBLIC)
  550. ZEND_ME(DOMNode, normalize, arginfo_class_DOMNode_normalize, ZEND_ACC_PUBLIC)
  551. ZEND_ME(DOMNode, removeChild, arginfo_class_DOMNode_removeChild, ZEND_ACC_PUBLIC)
  552. ZEND_ME(DOMNode, replaceChild, arginfo_class_DOMNode_replaceChild, ZEND_ACC_PUBLIC)
  553. ZEND_FE_END
  554. };
  555. static const zend_function_entry class_DOMNameSpaceNode_methods[] = {
  556. ZEND_FE_END
  557. };
  558. static const zend_function_entry class_DOMImplementation_methods[] = {
  559. ZEND_ME(DOMImplementation, getFeature, arginfo_class_DOMImplementation_getFeature, ZEND_ACC_PUBLIC)
  560. ZEND_ME(DOMImplementation, hasFeature, arginfo_class_DOMImplementation_hasFeature, ZEND_ACC_PUBLIC)
  561. ZEND_ME(DOMImplementation, createDocumentType, arginfo_class_DOMImplementation_createDocumentType, ZEND_ACC_PUBLIC)
  562. ZEND_ME(DOMImplementation, createDocument, arginfo_class_DOMImplementation_createDocument, ZEND_ACC_PUBLIC)
  563. ZEND_FE_END
  564. };
  565. static const zend_function_entry class_DOMDocumentFragment_methods[] = {
  566. ZEND_ME(DOMDocumentFragment, __construct, arginfo_class_DOMDocumentFragment___construct, ZEND_ACC_PUBLIC)
  567. ZEND_ME(DOMDocumentFragment, appendXML, arginfo_class_DOMDocumentFragment_appendXML, ZEND_ACC_PUBLIC)
  568. ZEND_ME(DOMDocumentFragment, append, arginfo_class_DOMDocumentFragment_append, ZEND_ACC_PUBLIC)
  569. ZEND_ME(DOMDocumentFragment, prepend, arginfo_class_DOMDocumentFragment_prepend, ZEND_ACC_PUBLIC)
  570. ZEND_FE_END
  571. };
  572. static const zend_function_entry class_DOMNodeList_methods[] = {
  573. ZEND_ME(DOMNodeList, count, arginfo_class_DOMNodeList_count, ZEND_ACC_PUBLIC)
  574. ZEND_ME(DOMNodeList, getIterator, arginfo_class_DOMNodeList_getIterator, ZEND_ACC_PUBLIC)
  575. ZEND_ME(DOMNodeList, item, arginfo_class_DOMNodeList_item, ZEND_ACC_PUBLIC)
  576. ZEND_FE_END
  577. };
  578. static const zend_function_entry class_DOMCharacterData_methods[] = {
  579. ZEND_ME(DOMCharacterData, appendData, arginfo_class_DOMCharacterData_appendData, ZEND_ACC_PUBLIC)
  580. ZEND_ME(DOMCharacterData, substringData, arginfo_class_DOMCharacterData_substringData, ZEND_ACC_PUBLIC)
  581. ZEND_ME(DOMCharacterData, insertData, arginfo_class_DOMCharacterData_insertData, ZEND_ACC_PUBLIC)
  582. ZEND_ME(DOMCharacterData, deleteData, arginfo_class_DOMCharacterData_deleteData, ZEND_ACC_PUBLIC)
  583. ZEND_ME(DOMCharacterData, replaceData, arginfo_class_DOMCharacterData_replaceData, ZEND_ACC_PUBLIC)
  584. ZEND_ME(DOMCharacterData, replaceWith, arginfo_class_DOMCharacterData_replaceWith, ZEND_ACC_PUBLIC)
  585. ZEND_ME(DOMCharacterData, remove, arginfo_class_DOMCharacterData_remove, ZEND_ACC_PUBLIC)
  586. ZEND_ME(DOMCharacterData, before, arginfo_class_DOMCharacterData_before, ZEND_ACC_PUBLIC)
  587. ZEND_ME(DOMCharacterData, after, arginfo_class_DOMCharacterData_after, ZEND_ACC_PUBLIC)
  588. ZEND_FE_END
  589. };
  590. static const zend_function_entry class_DOMAttr_methods[] = {
  591. ZEND_ME(DOMAttr, __construct, arginfo_class_DOMAttr___construct, ZEND_ACC_PUBLIC)
  592. ZEND_ME(DOMAttr, isId, arginfo_class_DOMAttr_isId, ZEND_ACC_PUBLIC)
  593. ZEND_FE_END
  594. };
  595. static const zend_function_entry class_DOMElement_methods[] = {
  596. ZEND_ME(DOMElement, __construct, arginfo_class_DOMElement___construct, ZEND_ACC_PUBLIC)
  597. ZEND_ME(DOMElement, getAttribute, arginfo_class_DOMElement_getAttribute, ZEND_ACC_PUBLIC)
  598. ZEND_ME(DOMElement, getAttributeNS, arginfo_class_DOMElement_getAttributeNS, ZEND_ACC_PUBLIC)
  599. ZEND_ME(DOMElement, getAttributeNode, arginfo_class_DOMElement_getAttributeNode, ZEND_ACC_PUBLIC)
  600. ZEND_ME(DOMElement, getAttributeNodeNS, arginfo_class_DOMElement_getAttributeNodeNS, ZEND_ACC_PUBLIC)
  601. ZEND_ME(DOMElement, getElementsByTagName, arginfo_class_DOMElement_getElementsByTagName, ZEND_ACC_PUBLIC)
  602. ZEND_ME(DOMElement, getElementsByTagNameNS, arginfo_class_DOMElement_getElementsByTagNameNS, ZEND_ACC_PUBLIC)
  603. ZEND_ME(DOMElement, hasAttribute, arginfo_class_DOMElement_hasAttribute, ZEND_ACC_PUBLIC)
  604. ZEND_ME(DOMElement, hasAttributeNS, arginfo_class_DOMElement_hasAttributeNS, ZEND_ACC_PUBLIC)
  605. ZEND_ME(DOMElement, removeAttribute, arginfo_class_DOMElement_removeAttribute, ZEND_ACC_PUBLIC)
  606. ZEND_ME(DOMElement, removeAttributeNS, arginfo_class_DOMElement_removeAttributeNS, ZEND_ACC_PUBLIC)
  607. ZEND_ME(DOMElement, removeAttributeNode, arginfo_class_DOMElement_removeAttributeNode, ZEND_ACC_PUBLIC)
  608. ZEND_ME(DOMElement, setAttribute, arginfo_class_DOMElement_setAttribute, ZEND_ACC_PUBLIC)
  609. ZEND_ME(DOMElement, setAttributeNS, arginfo_class_DOMElement_setAttributeNS, ZEND_ACC_PUBLIC)
  610. ZEND_ME(DOMElement, setAttributeNode, arginfo_class_DOMElement_setAttributeNode, ZEND_ACC_PUBLIC)
  611. ZEND_ME(DOMElement, setAttributeNodeNS, arginfo_class_DOMElement_setAttributeNodeNS, ZEND_ACC_PUBLIC)
  612. ZEND_ME(DOMElement, setIdAttribute, arginfo_class_DOMElement_setIdAttribute, ZEND_ACC_PUBLIC)
  613. ZEND_ME(DOMElement, setIdAttributeNS, arginfo_class_DOMElement_setIdAttributeNS, ZEND_ACC_PUBLIC)
  614. ZEND_ME(DOMElement, setIdAttributeNode, arginfo_class_DOMElement_setIdAttributeNode, ZEND_ACC_PUBLIC)
  615. ZEND_ME(DOMElement, remove, arginfo_class_DOMElement_remove, ZEND_ACC_PUBLIC)
  616. ZEND_ME(DOMElement, before, arginfo_class_DOMElement_before, ZEND_ACC_PUBLIC)
  617. ZEND_ME(DOMElement, after, arginfo_class_DOMElement_after, ZEND_ACC_PUBLIC)
  618. ZEND_ME(DOMElement, replaceWith, arginfo_class_DOMElement_replaceWith, ZEND_ACC_PUBLIC)
  619. ZEND_ME(DOMElement, append, arginfo_class_DOMElement_append, ZEND_ACC_PUBLIC)
  620. ZEND_ME(DOMElement, prepend, arginfo_class_DOMElement_prepend, ZEND_ACC_PUBLIC)
  621. ZEND_FE_END
  622. };
  623. static const zend_function_entry class_DOMDocument_methods[] = {
  624. ZEND_ME(DOMDocument, __construct, arginfo_class_DOMDocument___construct, ZEND_ACC_PUBLIC)
  625. ZEND_ME(DOMDocument, createAttribute, arginfo_class_DOMDocument_createAttribute, ZEND_ACC_PUBLIC)
  626. ZEND_ME(DOMDocument, createAttributeNS, arginfo_class_DOMDocument_createAttributeNS, ZEND_ACC_PUBLIC)
  627. ZEND_ME(DOMDocument, createCDATASection, arginfo_class_DOMDocument_createCDATASection, ZEND_ACC_PUBLIC)
  628. ZEND_ME(DOMDocument, createComment, arginfo_class_DOMDocument_createComment, ZEND_ACC_PUBLIC)
  629. ZEND_ME(DOMDocument, createDocumentFragment, arginfo_class_DOMDocument_createDocumentFragment, ZEND_ACC_PUBLIC)
  630. ZEND_ME(DOMDocument, createElement, arginfo_class_DOMDocument_createElement, ZEND_ACC_PUBLIC)
  631. ZEND_ME(DOMDocument, createElementNS, arginfo_class_DOMDocument_createElementNS, ZEND_ACC_PUBLIC)
  632. ZEND_ME(DOMDocument, createEntityReference, arginfo_class_DOMDocument_createEntityReference, ZEND_ACC_PUBLIC)
  633. ZEND_ME(DOMDocument, createProcessingInstruction, arginfo_class_DOMDocument_createProcessingInstruction, ZEND_ACC_PUBLIC)
  634. ZEND_ME(DOMDocument, createTextNode, arginfo_class_DOMDocument_createTextNode, ZEND_ACC_PUBLIC)
  635. ZEND_ME(DOMDocument, getElementById, arginfo_class_DOMDocument_getElementById, ZEND_ACC_PUBLIC)
  636. ZEND_ME(DOMDocument, getElementsByTagName, arginfo_class_DOMDocument_getElementsByTagName, ZEND_ACC_PUBLIC)
  637. ZEND_ME(DOMDocument, getElementsByTagNameNS, arginfo_class_DOMDocument_getElementsByTagNameNS, ZEND_ACC_PUBLIC)
  638. ZEND_ME(DOMDocument, importNode, arginfo_class_DOMDocument_importNode, ZEND_ACC_PUBLIC)
  639. ZEND_ME(DOMDocument, load, arginfo_class_DOMDocument_load, ZEND_ACC_PUBLIC)
  640. ZEND_ME(DOMDocument, loadXML, arginfo_class_DOMDocument_loadXML, ZEND_ACC_PUBLIC)
  641. ZEND_ME(DOMDocument, normalizeDocument, arginfo_class_DOMDocument_normalizeDocument, ZEND_ACC_PUBLIC)
  642. ZEND_ME(DOMDocument, registerNodeClass, arginfo_class_DOMDocument_registerNodeClass, ZEND_ACC_PUBLIC)
  643. ZEND_ME(DOMDocument, save, arginfo_class_DOMDocument_save, ZEND_ACC_PUBLIC)
  644. #if defined(LIBXML_HTML_ENABLED)
  645. ZEND_ME(DOMDocument, loadHTML, arginfo_class_DOMDocument_loadHTML, ZEND_ACC_PUBLIC)
  646. #endif
  647. #if defined(LIBXML_HTML_ENABLED)
  648. ZEND_ME(DOMDocument, loadHTMLFile, arginfo_class_DOMDocument_loadHTMLFile, ZEND_ACC_PUBLIC)
  649. #endif
  650. #if defined(LIBXML_HTML_ENABLED)
  651. ZEND_ME(DOMDocument, saveHTML, arginfo_class_DOMDocument_saveHTML, ZEND_ACC_PUBLIC)
  652. #endif
  653. #if defined(LIBXML_HTML_ENABLED)
  654. ZEND_ME(DOMDocument, saveHTMLFile, arginfo_class_DOMDocument_saveHTMLFile, ZEND_ACC_PUBLIC)
  655. #endif
  656. ZEND_ME(DOMDocument, saveXML, arginfo_class_DOMDocument_saveXML, ZEND_ACC_PUBLIC)
  657. #if defined(LIBXML_SCHEMAS_ENABLED)
  658. ZEND_ME(DOMDocument, schemaValidate, arginfo_class_DOMDocument_schemaValidate, ZEND_ACC_PUBLIC)
  659. #endif
  660. #if defined(LIBXML_SCHEMAS_ENABLED)
  661. ZEND_ME(DOMDocument, schemaValidateSource, arginfo_class_DOMDocument_schemaValidateSource, ZEND_ACC_PUBLIC)
  662. #endif
  663. #if defined(LIBXML_SCHEMAS_ENABLED)
  664. ZEND_ME(DOMDocument, relaxNGValidate, arginfo_class_DOMDocument_relaxNGValidate, ZEND_ACC_PUBLIC)
  665. #endif
  666. #if defined(LIBXML_SCHEMAS_ENABLED)
  667. ZEND_ME(DOMDocument, relaxNGValidateSource, arginfo_class_DOMDocument_relaxNGValidateSource, ZEND_ACC_PUBLIC)
  668. #endif
  669. ZEND_ME(DOMDocument, validate, arginfo_class_DOMDocument_validate, ZEND_ACC_PUBLIC)
  670. ZEND_ME(DOMDocument, xinclude, arginfo_class_DOMDocument_xinclude, ZEND_ACC_PUBLIC)
  671. ZEND_ME(DOMDocument, adoptNode, arginfo_class_DOMDocument_adoptNode, ZEND_ACC_PUBLIC)
  672. ZEND_ME(DOMDocument, append, arginfo_class_DOMDocument_append, ZEND_ACC_PUBLIC)
  673. ZEND_ME(DOMDocument, prepend, arginfo_class_DOMDocument_prepend, ZEND_ACC_PUBLIC)
  674. ZEND_FE_END
  675. };
  676. static const zend_function_entry class_DOMException_methods[] = {
  677. ZEND_FE_END
  678. };
  679. static const zend_function_entry class_DOMText_methods[] = {
  680. ZEND_ME(DOMText, __construct, arginfo_class_DOMText___construct, ZEND_ACC_PUBLIC)
  681. ZEND_ME(DOMText, isWhitespaceInElementContent, arginfo_class_DOMText_isWhitespaceInElementContent, ZEND_ACC_PUBLIC)
  682. ZEND_MALIAS(DOMText, isElementContentWhitespace, isWhitespaceInElementContent, arginfo_class_DOMText_isElementContentWhitespace, ZEND_ACC_PUBLIC)
  683. ZEND_ME(DOMText, splitText, arginfo_class_DOMText_splitText, ZEND_ACC_PUBLIC)
  684. ZEND_FE_END
  685. };
  686. static const zend_function_entry class_DOMNamedNodeMap_methods[] = {
  687. ZEND_ME(DOMNamedNodeMap, getNamedItem, arginfo_class_DOMNamedNodeMap_getNamedItem, ZEND_ACC_PUBLIC)
  688. ZEND_ME(DOMNamedNodeMap, getNamedItemNS, arginfo_class_DOMNamedNodeMap_getNamedItemNS, ZEND_ACC_PUBLIC)
  689. ZEND_ME(DOMNamedNodeMap, item, arginfo_class_DOMNamedNodeMap_item, ZEND_ACC_PUBLIC)
  690. ZEND_ME(DOMNamedNodeMap, count, arginfo_class_DOMNamedNodeMap_count, ZEND_ACC_PUBLIC)
  691. ZEND_ME(DOMNamedNodeMap, getIterator, arginfo_class_DOMNamedNodeMap_getIterator, ZEND_ACC_PUBLIC)
  692. ZEND_FE_END
  693. };
  694. static const zend_function_entry class_DOMEntity_methods[] = {
  695. ZEND_FE_END
  696. };
  697. static const zend_function_entry class_DOMEntityReference_methods[] = {
  698. ZEND_ME(DOMEntityReference, __construct, arginfo_class_DOMEntityReference___construct, ZEND_ACC_PUBLIC)
  699. ZEND_FE_END
  700. };
  701. static const zend_function_entry class_DOMNotation_methods[] = {
  702. ZEND_FE_END
  703. };
  704. static const zend_function_entry class_DOMProcessingInstruction_methods[] = {
  705. ZEND_ME(DOMProcessingInstruction, __construct, arginfo_class_DOMProcessingInstruction___construct, ZEND_ACC_PUBLIC)
  706. ZEND_FE_END
  707. };
  708. static const zend_function_entry class_DOMXPath_methods[] = {
  709. #if defined(LIBXML_XPATH_ENABLED)
  710. ZEND_ME(DOMXPath, __construct, arginfo_class_DOMXPath___construct, ZEND_ACC_PUBLIC)
  711. #endif
  712. #if defined(LIBXML_XPATH_ENABLED)
  713. ZEND_ME(DOMXPath, evaluate, arginfo_class_DOMXPath_evaluate, ZEND_ACC_PUBLIC)
  714. #endif
  715. #if defined(LIBXML_XPATH_ENABLED)
  716. ZEND_ME(DOMXPath, query, arginfo_class_DOMXPath_query, ZEND_ACC_PUBLIC)
  717. #endif
  718. #if defined(LIBXML_XPATH_ENABLED)
  719. ZEND_ME(DOMXPath, registerNamespace, arginfo_class_DOMXPath_registerNamespace, ZEND_ACC_PUBLIC)
  720. #endif
  721. #if defined(LIBXML_XPATH_ENABLED)
  722. ZEND_ME(DOMXPath, registerPhpFunctions, arginfo_class_DOMXPath_registerPhpFunctions, ZEND_ACC_PUBLIC)
  723. #endif
  724. ZEND_FE_END
  725. };
  726. static zend_class_entry *register_class_DOMDocumentType(zend_class_entry *class_entry_DOMNode)
  727. {
  728. zend_class_entry ce, *class_entry;
  729. INIT_CLASS_ENTRY(ce, "DOMDocumentType", class_DOMDocumentType_methods);
  730. class_entry = zend_register_internal_class_ex(&ce, class_entry_DOMNode);
  731. zval property_name_default_value;
  732. ZVAL_UNDEF(&property_name_default_value);
  733. zend_string *property_name_name = zend_string_init("name", sizeof("name") - 1, 1);
  734. zend_declare_typed_property(class_entry, property_name_name, &property_name_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING));
  735. zend_string_release(property_name_name);
  736. zend_string *property_entities_class_DOMNamedNodeMap = zend_string_init("DOMNamedNodeMap", sizeof("DOMNamedNodeMap")-1, 1);
  737. zval property_entities_default_value;
  738. ZVAL_UNDEF(&property_entities_default_value);
  739. zend_string *property_entities_name = zend_string_init("entities", sizeof("entities") - 1, 1);
  740. zend_declare_typed_property(class_entry, property_entities_name, &property_entities_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_entities_class_DOMNamedNodeMap, 0, 0));
  741. zend_string_release(property_entities_name);
  742. zend_string *property_notations_class_DOMNamedNodeMap = zend_string_init("DOMNamedNodeMap", sizeof("DOMNamedNodeMap")-1, 1);
  743. zval property_notations_default_value;
  744. ZVAL_UNDEF(&property_notations_default_value);
  745. zend_string *property_notations_name = zend_string_init("notations", sizeof("notations") - 1, 1);
  746. zend_declare_typed_property(class_entry, property_notations_name, &property_notations_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_notations_class_DOMNamedNodeMap, 0, 0));
  747. zend_string_release(property_notations_name);
  748. zval property_publicId_default_value;
  749. ZVAL_UNDEF(&property_publicId_default_value);
  750. zend_string *property_publicId_name = zend_string_init("publicId", sizeof("publicId") - 1, 1);
  751. zend_declare_typed_property(class_entry, property_publicId_name, &property_publicId_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING));
  752. zend_string_release(property_publicId_name);
  753. zval property_systemId_default_value;
  754. ZVAL_UNDEF(&property_systemId_default_value);
  755. zend_string *property_systemId_name = zend_string_init("systemId", sizeof("systemId") - 1, 1);
  756. zend_declare_typed_property(class_entry, property_systemId_name, &property_systemId_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING));
  757. zend_string_release(property_systemId_name);
  758. zval property_internalSubset_default_value;
  759. ZVAL_UNDEF(&property_internalSubset_default_value);
  760. zend_string *property_internalSubset_name = zend_string_init("internalSubset", sizeof("internalSubset") - 1, 1);
  761. zend_declare_typed_property(class_entry, property_internalSubset_name, &property_internalSubset_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING|MAY_BE_NULL));
  762. zend_string_release(property_internalSubset_name);
  763. return class_entry;
  764. }
  765. static zend_class_entry *register_class_DOMCdataSection(zend_class_entry *class_entry_DOMText)
  766. {
  767. zend_class_entry ce, *class_entry;
  768. INIT_CLASS_ENTRY(ce, "DOMCdataSection", class_DOMCdataSection_methods);
  769. class_entry = zend_register_internal_class_ex(&ce, class_entry_DOMText);
  770. return class_entry;
  771. }
  772. static zend_class_entry *register_class_DOMComment(zend_class_entry *class_entry_DOMCharacterData)
  773. {
  774. zend_class_entry ce, *class_entry;
  775. INIT_CLASS_ENTRY(ce, "DOMComment", class_DOMComment_methods);
  776. class_entry = zend_register_internal_class_ex(&ce, class_entry_DOMCharacterData);
  777. return class_entry;
  778. }
  779. static zend_class_entry *register_class_DOMParentNode(void)
  780. {
  781. zend_class_entry ce, *class_entry;
  782. INIT_CLASS_ENTRY(ce, "DOMParentNode", class_DOMParentNode_methods);
  783. class_entry = zend_register_internal_interface(&ce);
  784. return class_entry;
  785. }
  786. static zend_class_entry *register_class_DOMChildNode(void)
  787. {
  788. zend_class_entry ce, *class_entry;
  789. INIT_CLASS_ENTRY(ce, "DOMChildNode", class_DOMChildNode_methods);
  790. class_entry = zend_register_internal_interface(&ce);
  791. return class_entry;
  792. }
  793. static zend_class_entry *register_class_DOMNode(void)
  794. {
  795. zend_class_entry ce, *class_entry;
  796. INIT_CLASS_ENTRY(ce, "DOMNode", class_DOMNode_methods);
  797. class_entry = zend_register_internal_class_ex(&ce, NULL);
  798. class_entry->ce_flags |= ZEND_ACC_NOT_SERIALIZABLE;
  799. zval property_nodeName_default_value;
  800. ZVAL_UNDEF(&property_nodeName_default_value);
  801. zend_string *property_nodeName_name = zend_string_init("nodeName", sizeof("nodeName") - 1, 1);
  802. zend_declare_typed_property(class_entry, property_nodeName_name, &property_nodeName_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING));
  803. zend_string_release(property_nodeName_name);
  804. zval property_nodeValue_default_value;
  805. ZVAL_UNDEF(&property_nodeValue_default_value);
  806. zend_string *property_nodeValue_name = zend_string_init("nodeValue", sizeof("nodeValue") - 1, 1);
  807. zend_declare_typed_property(class_entry, property_nodeValue_name, &property_nodeValue_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING|MAY_BE_NULL));
  808. zend_string_release(property_nodeValue_name);
  809. zval property_nodeType_default_value;
  810. ZVAL_UNDEF(&property_nodeType_default_value);
  811. zend_string *property_nodeType_name = zend_string_init("nodeType", sizeof("nodeType") - 1, 1);
  812. zend_declare_typed_property(class_entry, property_nodeType_name, &property_nodeType_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
  813. zend_string_release(property_nodeType_name);
  814. zend_string *property_parentNode_class_DOMNode = zend_string_init("DOMNode", sizeof("DOMNode")-1, 1);
  815. zval property_parentNode_default_value;
  816. ZVAL_UNDEF(&property_parentNode_default_value);
  817. zend_string *property_parentNode_name = zend_string_init("parentNode", sizeof("parentNode") - 1, 1);
  818. zend_declare_typed_property(class_entry, property_parentNode_name, &property_parentNode_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_parentNode_class_DOMNode, 0, MAY_BE_NULL));
  819. zend_string_release(property_parentNode_name);
  820. zend_string *property_childNodes_class_DOMNodeList = zend_string_init("DOMNodeList", sizeof("DOMNodeList")-1, 1);
  821. zval property_childNodes_default_value;
  822. ZVAL_UNDEF(&property_childNodes_default_value);
  823. zend_string *property_childNodes_name = zend_string_init("childNodes", sizeof("childNodes") - 1, 1);
  824. zend_declare_typed_property(class_entry, property_childNodes_name, &property_childNodes_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_childNodes_class_DOMNodeList, 0, 0));
  825. zend_string_release(property_childNodes_name);
  826. zend_string *property_firstChild_class_DOMNode = zend_string_init("DOMNode", sizeof("DOMNode")-1, 1);
  827. zval property_firstChild_default_value;
  828. ZVAL_UNDEF(&property_firstChild_default_value);
  829. zend_string *property_firstChild_name = zend_string_init("firstChild", sizeof("firstChild") - 1, 1);
  830. zend_declare_typed_property(class_entry, property_firstChild_name, &property_firstChild_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_firstChild_class_DOMNode, 0, MAY_BE_NULL));
  831. zend_string_release(property_firstChild_name);
  832. zend_string *property_lastChild_class_DOMNode = zend_string_init("DOMNode", sizeof("DOMNode")-1, 1);
  833. zval property_lastChild_default_value;
  834. ZVAL_UNDEF(&property_lastChild_default_value);
  835. zend_string *property_lastChild_name = zend_string_init("lastChild", sizeof("lastChild") - 1, 1);
  836. zend_declare_typed_property(class_entry, property_lastChild_name, &property_lastChild_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_lastChild_class_DOMNode, 0, MAY_BE_NULL));
  837. zend_string_release(property_lastChild_name);
  838. zend_string *property_previousSibling_class_DOMNode = zend_string_init("DOMNode", sizeof("DOMNode")-1, 1);
  839. zval property_previousSibling_default_value;
  840. ZVAL_UNDEF(&property_previousSibling_default_value);
  841. zend_string *property_previousSibling_name = zend_string_init("previousSibling", sizeof("previousSibling") - 1, 1);
  842. zend_declare_typed_property(class_entry, property_previousSibling_name, &property_previousSibling_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_previousSibling_class_DOMNode, 0, MAY_BE_NULL));
  843. zend_string_release(property_previousSibling_name);
  844. zend_string *property_nextSibling_class_DOMNode = zend_string_init("DOMNode", sizeof("DOMNode")-1, 1);
  845. zval property_nextSibling_default_value;
  846. ZVAL_UNDEF(&property_nextSibling_default_value);
  847. zend_string *property_nextSibling_name = zend_string_init("nextSibling", sizeof("nextSibling") - 1, 1);
  848. zend_declare_typed_property(class_entry, property_nextSibling_name, &property_nextSibling_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_nextSibling_class_DOMNode, 0, MAY_BE_NULL));
  849. zend_string_release(property_nextSibling_name);
  850. zend_string *property_attributes_class_DOMNamedNodeMap = zend_string_init("DOMNamedNodeMap", sizeof("DOMNamedNodeMap")-1, 1);
  851. zval property_attributes_default_value;
  852. ZVAL_UNDEF(&property_attributes_default_value);
  853. zend_string *property_attributes_name = zend_string_init("attributes", sizeof("attributes") - 1, 1);
  854. zend_declare_typed_property(class_entry, property_attributes_name, &property_attributes_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_attributes_class_DOMNamedNodeMap, 0, MAY_BE_NULL));
  855. zend_string_release(property_attributes_name);
  856. zend_string *property_ownerDocument_class_DOMDocument = zend_string_init("DOMDocument", sizeof("DOMDocument")-1, 1);
  857. zval property_ownerDocument_default_value;
  858. ZVAL_UNDEF(&property_ownerDocument_default_value);
  859. zend_string *property_ownerDocument_name = zend_string_init("ownerDocument", sizeof("ownerDocument") - 1, 1);
  860. zend_declare_typed_property(class_entry, property_ownerDocument_name, &property_ownerDocument_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_ownerDocument_class_DOMDocument, 0, MAY_BE_NULL));
  861. zend_string_release(property_ownerDocument_name);
  862. zval property_namespaceURI_default_value;
  863. ZVAL_UNDEF(&property_namespaceURI_default_value);
  864. zend_string *property_namespaceURI_name = zend_string_init("namespaceURI", sizeof("namespaceURI") - 1, 1);
  865. zend_declare_typed_property(class_entry, property_namespaceURI_name, &property_namespaceURI_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING|MAY_BE_NULL));
  866. zend_string_release(property_namespaceURI_name);
  867. zval property_prefix_default_value;
  868. ZVAL_UNDEF(&property_prefix_default_value);
  869. zend_string *property_prefix_name = zend_string_init("prefix", sizeof("prefix") - 1, 1);
  870. zend_declare_typed_property(class_entry, property_prefix_name, &property_prefix_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING));
  871. zend_string_release(property_prefix_name);
  872. zval property_localName_default_value;
  873. ZVAL_UNDEF(&property_localName_default_value);
  874. zend_string *property_localName_name = zend_string_init("localName", sizeof("localName") - 1, 1);
  875. zend_declare_typed_property(class_entry, property_localName_name, &property_localName_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING|MAY_BE_NULL));
  876. zend_string_release(property_localName_name);
  877. zval property_baseURI_default_value;
  878. ZVAL_UNDEF(&property_baseURI_default_value);
  879. zend_string *property_baseURI_name = zend_string_init("baseURI", sizeof("baseURI") - 1, 1);
  880. zend_declare_typed_property(class_entry, property_baseURI_name, &property_baseURI_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING|MAY_BE_NULL));
  881. zend_string_release(property_baseURI_name);
  882. zval property_textContent_default_value;
  883. ZVAL_UNDEF(&property_textContent_default_value);
  884. zend_string *property_textContent_name = zend_string_init("textContent", sizeof("textContent") - 1, 1);
  885. zend_declare_typed_property(class_entry, property_textContent_name, &property_textContent_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING));
  886. zend_string_release(property_textContent_name);
  887. return class_entry;
  888. }
  889. static zend_class_entry *register_class_DOMNameSpaceNode(void)
  890. {
  891. zend_class_entry ce, *class_entry;
  892. INIT_CLASS_ENTRY(ce, "DOMNameSpaceNode", class_DOMNameSpaceNode_methods);
  893. class_entry = zend_register_internal_class_ex(&ce, NULL);
  894. class_entry->ce_flags |= ZEND_ACC_NOT_SERIALIZABLE;
  895. zval property_nodeName_default_value;
  896. ZVAL_UNDEF(&property_nodeName_default_value);
  897. zend_string *property_nodeName_name = zend_string_init("nodeName", sizeof("nodeName") - 1, 1);
  898. zend_declare_typed_property(class_entry, property_nodeName_name, &property_nodeName_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING));
  899. zend_string_release(property_nodeName_name);
  900. zval property_nodeValue_default_value;
  901. ZVAL_UNDEF(&property_nodeValue_default_value);
  902. zend_string *property_nodeValue_name = zend_string_init("nodeValue", sizeof("nodeValue") - 1, 1);
  903. zend_declare_typed_property(class_entry, property_nodeValue_name, &property_nodeValue_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING|MAY_BE_NULL));
  904. zend_string_release(property_nodeValue_name);
  905. zval property_nodeType_default_value;
  906. ZVAL_UNDEF(&property_nodeType_default_value);
  907. zend_string *property_nodeType_name = zend_string_init("nodeType", sizeof("nodeType") - 1, 1);
  908. zend_declare_typed_property(class_entry, property_nodeType_name, &property_nodeType_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
  909. zend_string_release(property_nodeType_name);
  910. zval property_prefix_default_value;
  911. ZVAL_UNDEF(&property_prefix_default_value);
  912. zend_string *property_prefix_name = zend_string_init("prefix", sizeof("prefix") - 1, 1);
  913. zend_declare_typed_property(class_entry, property_prefix_name, &property_prefix_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING));
  914. zend_string_release(property_prefix_name);
  915. zval property_localName_default_value;
  916. ZVAL_UNDEF(&property_localName_default_value);
  917. zend_string *property_localName_name = zend_string_init("localName", sizeof("localName") - 1, 1);
  918. zend_declare_typed_property(class_entry, property_localName_name, &property_localName_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING|MAY_BE_NULL));
  919. zend_string_release(property_localName_name);
  920. zval property_namespaceURI_default_value;
  921. ZVAL_UNDEF(&property_namespaceURI_default_value);
  922. zend_string *property_namespaceURI_name = zend_string_init("namespaceURI", sizeof("namespaceURI") - 1, 1);
  923. zend_declare_typed_property(class_entry, property_namespaceURI_name, &property_namespaceURI_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING|MAY_BE_NULL));
  924. zend_string_release(property_namespaceURI_name);
  925. zend_string *property_ownerDocument_class_DOMDocument = zend_string_init("DOMDocument", sizeof("DOMDocument")-1, 1);
  926. zval property_ownerDocument_default_value;
  927. ZVAL_UNDEF(&property_ownerDocument_default_value);
  928. zend_string *property_ownerDocument_name = zend_string_init("ownerDocument", sizeof("ownerDocument") - 1, 1);
  929. zend_declare_typed_property(class_entry, property_ownerDocument_name, &property_ownerDocument_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_ownerDocument_class_DOMDocument, 0, MAY_BE_NULL));
  930. zend_string_release(property_ownerDocument_name);
  931. zend_string *property_parentNode_class_DOMNode = zend_string_init("DOMNode", sizeof("DOMNode")-1, 1);
  932. zval property_parentNode_default_value;
  933. ZVAL_UNDEF(&property_parentNode_default_value);
  934. zend_string *property_parentNode_name = zend_string_init("parentNode", sizeof("parentNode") - 1, 1);
  935. zend_declare_typed_property(class_entry, property_parentNode_name, &property_parentNode_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_parentNode_class_DOMNode, 0, MAY_BE_NULL));
  936. zend_string_release(property_parentNode_name);
  937. return class_entry;
  938. }
  939. static zend_class_entry *register_class_DOMImplementation(void)
  940. {
  941. zend_class_entry ce, *class_entry;
  942. INIT_CLASS_ENTRY(ce, "DOMImplementation", class_DOMImplementation_methods);
  943. class_entry = zend_register_internal_class_ex(&ce, NULL);
  944. return class_entry;
  945. }
  946. static zend_class_entry *register_class_DOMDocumentFragment(zend_class_entry *class_entry_DOMNode, zend_class_entry *class_entry_DOMParentNode)
  947. {
  948. zend_class_entry ce, *class_entry;
  949. INIT_CLASS_ENTRY(ce, "DOMDocumentFragment", class_DOMDocumentFragment_methods);
  950. class_entry = zend_register_internal_class_ex(&ce, class_entry_DOMNode);
  951. zend_class_implements(class_entry, 1, class_entry_DOMParentNode);
  952. zend_string *property_firstElementChild_class_DOMElement = zend_string_init("DOMElement", sizeof("DOMElement")-1, 1);
  953. zval property_firstElementChild_default_value;
  954. ZVAL_UNDEF(&property_firstElementChild_default_value);
  955. zend_string *property_firstElementChild_name = zend_string_init("firstElementChild", sizeof("firstElementChild") - 1, 1);
  956. zend_declare_typed_property(class_entry, property_firstElementChild_name, &property_firstElementChild_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_firstElementChild_class_DOMElement, 0, MAY_BE_NULL));
  957. zend_string_release(property_firstElementChild_name);
  958. zend_string *property_lastElementChild_class_DOMElement = zend_string_init("DOMElement", sizeof("DOMElement")-1, 1);
  959. zval property_lastElementChild_default_value;
  960. ZVAL_UNDEF(&property_lastElementChild_default_value);
  961. zend_string *property_lastElementChild_name = zend_string_init("lastElementChild", sizeof("lastElementChild") - 1, 1);
  962. zend_declare_typed_property(class_entry, property_lastElementChild_name, &property_lastElementChild_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_lastElementChild_class_DOMElement, 0, MAY_BE_NULL));
  963. zend_string_release(property_lastElementChild_name);
  964. zval property_childElementCount_default_value;
  965. ZVAL_UNDEF(&property_childElementCount_default_value);
  966. zend_string *property_childElementCount_name = zend_string_init("childElementCount", sizeof("childElementCount") - 1, 1);
  967. zend_declare_typed_property(class_entry, property_childElementCount_name, &property_childElementCount_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
  968. zend_string_release(property_childElementCount_name);
  969. return class_entry;
  970. }
  971. static zend_class_entry *register_class_DOMNodeList(zend_class_entry *class_entry_IteratorAggregate, zend_class_entry *class_entry_Countable)
  972. {
  973. zend_class_entry ce, *class_entry;
  974. INIT_CLASS_ENTRY(ce, "DOMNodeList", class_DOMNodeList_methods);
  975. class_entry = zend_register_internal_class_ex(&ce, NULL);
  976. zend_class_implements(class_entry, 2, class_entry_IteratorAggregate, class_entry_Countable);
  977. zval property_length_default_value;
  978. ZVAL_UNDEF(&property_length_default_value);
  979. zend_string *property_length_name = zend_string_init("length", sizeof("length") - 1, 1);
  980. zend_declare_typed_property(class_entry, property_length_name, &property_length_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
  981. zend_string_release(property_length_name);
  982. return class_entry;
  983. }
  984. static zend_class_entry *register_class_DOMCharacterData(zend_class_entry *class_entry_DOMNode, zend_class_entry *class_entry_DOMChildNode)
  985. {
  986. zend_class_entry ce, *class_entry;
  987. INIT_CLASS_ENTRY(ce, "DOMCharacterData", class_DOMCharacterData_methods);
  988. class_entry = zend_register_internal_class_ex(&ce, class_entry_DOMNode);
  989. zend_class_implements(class_entry, 1, class_entry_DOMChildNode);
  990. zval property_data_default_value;
  991. ZVAL_UNDEF(&property_data_default_value);
  992. zend_string *property_data_name = zend_string_init("data", sizeof("data") - 1, 1);
  993. zend_declare_typed_property(class_entry, property_data_name, &property_data_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING));
  994. zend_string_release(property_data_name);
  995. zval property_length_default_value;
  996. ZVAL_UNDEF(&property_length_default_value);
  997. zend_string *property_length_name = zend_string_init("length", sizeof("length") - 1, 1);
  998. zend_declare_typed_property(class_entry, property_length_name, &property_length_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
  999. zend_string_release(property_length_name);
  1000. zend_string *property_previousElementSibling_class_DOMElement = zend_string_init("DOMElement", sizeof("DOMElement")-1, 1);
  1001. zval property_previousElementSibling_default_value;
  1002. ZVAL_UNDEF(&property_previousElementSibling_default_value);
  1003. zend_string *property_previousElementSibling_name = zend_string_init("previousElementSibling", sizeof("previousElementSibling") - 1, 1);
  1004. zend_declare_typed_property(class_entry, property_previousElementSibling_name, &property_previousElementSibling_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_previousElementSibling_class_DOMElement, 0, MAY_BE_NULL));
  1005. zend_string_release(property_previousElementSibling_name);
  1006. zend_string *property_nextElementSibling_class_DOMElement = zend_string_init("DOMElement", sizeof("DOMElement")-1, 1);
  1007. zval property_nextElementSibling_default_value;
  1008. ZVAL_UNDEF(&property_nextElementSibling_default_value);
  1009. zend_string *property_nextElementSibling_name = zend_string_init("nextElementSibling", sizeof("nextElementSibling") - 1, 1);
  1010. zend_declare_typed_property(class_entry, property_nextElementSibling_name, &property_nextElementSibling_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_nextElementSibling_class_DOMElement, 0, MAY_BE_NULL));
  1011. zend_string_release(property_nextElementSibling_name);
  1012. return class_entry;
  1013. }
  1014. static zend_class_entry *register_class_DOMAttr(zend_class_entry *class_entry_DOMNode)
  1015. {
  1016. zend_class_entry ce, *class_entry;
  1017. INIT_CLASS_ENTRY(ce, "DOMAttr", class_DOMAttr_methods);
  1018. class_entry = zend_register_internal_class_ex(&ce, class_entry_DOMNode);
  1019. zval property_name_default_value;
  1020. ZVAL_UNDEF(&property_name_default_value);
  1021. zend_string *property_name_name = zend_string_init("name", sizeof("name") - 1, 1);
  1022. zend_declare_typed_property(class_entry, property_name_name, &property_name_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING));
  1023. zend_string_release(property_name_name);
  1024. zval property_specified_default_value;
  1025. ZVAL_BOOL(&property_specified_default_value, 1);
  1026. zend_string *property_specified_name = zend_string_init("specified", sizeof("specified") - 1, 1);
  1027. zend_declare_typed_property(class_entry, property_specified_name, &property_specified_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_BOOL));
  1028. zend_string_release(property_specified_name);
  1029. zval property_value_default_value;
  1030. ZVAL_UNDEF(&property_value_default_value);
  1031. zend_string *property_value_name = zend_string_init("value", sizeof("value") - 1, 1);
  1032. zend_declare_typed_property(class_entry, property_value_name, &property_value_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING));
  1033. zend_string_release(property_value_name);
  1034. zend_string *property_ownerElement_class_DOMElement = zend_string_init("DOMElement", sizeof("DOMElement")-1, 1);
  1035. zval property_ownerElement_default_value;
  1036. ZVAL_UNDEF(&property_ownerElement_default_value);
  1037. zend_string *property_ownerElement_name = zend_string_init("ownerElement", sizeof("ownerElement") - 1, 1);
  1038. zend_declare_typed_property(class_entry, property_ownerElement_name, &property_ownerElement_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_ownerElement_class_DOMElement, 0, MAY_BE_NULL));
  1039. zend_string_release(property_ownerElement_name);
  1040. zval property_schemaTypeInfo_default_value;
  1041. ZVAL_NULL(&property_schemaTypeInfo_default_value);
  1042. zend_string *property_schemaTypeInfo_name = zend_string_init("schemaTypeInfo", sizeof("schemaTypeInfo") - 1, 1);
  1043. zend_declare_typed_property(class_entry, property_schemaTypeInfo_name, &property_schemaTypeInfo_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_ANY));
  1044. zend_string_release(property_schemaTypeInfo_name);
  1045. return class_entry;
  1046. }
  1047. static zend_class_entry *register_class_DOMElement(zend_class_entry *class_entry_DOMNode, zend_class_entry *class_entry_DOMParentNode, zend_class_entry *class_entry_DOMChildNode)
  1048. {
  1049. zend_class_entry ce, *class_entry;
  1050. INIT_CLASS_ENTRY(ce, "DOMElement", class_DOMElement_methods);
  1051. class_entry = zend_register_internal_class_ex(&ce, class_entry_DOMNode);
  1052. zend_class_implements(class_entry, 2, class_entry_DOMParentNode, class_entry_DOMChildNode);
  1053. zval property_tagName_default_value;
  1054. ZVAL_UNDEF(&property_tagName_default_value);
  1055. zend_string *property_tagName_name = zend_string_init("tagName", sizeof("tagName") - 1, 1);
  1056. zend_declare_typed_property(class_entry, property_tagName_name, &property_tagName_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING));
  1057. zend_string_release(property_tagName_name);
  1058. zval property_schemaTypeInfo_default_value;
  1059. ZVAL_NULL(&property_schemaTypeInfo_default_value);
  1060. zend_string *property_schemaTypeInfo_name = zend_string_init("schemaTypeInfo", sizeof("schemaTypeInfo") - 1, 1);
  1061. zend_declare_typed_property(class_entry, property_schemaTypeInfo_name, &property_schemaTypeInfo_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_ANY));
  1062. zend_string_release(property_schemaTypeInfo_name);
  1063. zend_string *property_firstElementChild_class_DOMElement = zend_string_init("DOMElement", sizeof("DOMElement")-1, 1);
  1064. zval property_firstElementChild_default_value;
  1065. ZVAL_UNDEF(&property_firstElementChild_default_value);
  1066. zend_string *property_firstElementChild_name = zend_string_init("firstElementChild", sizeof("firstElementChild") - 1, 1);
  1067. zend_declare_typed_property(class_entry, property_firstElementChild_name, &property_firstElementChild_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_firstElementChild_class_DOMElement, 0, MAY_BE_NULL));
  1068. zend_string_release(property_firstElementChild_name);
  1069. zend_string *property_lastElementChild_class_DOMElement = zend_string_init("DOMElement", sizeof("DOMElement")-1, 1);
  1070. zval property_lastElementChild_default_value;
  1071. ZVAL_UNDEF(&property_lastElementChild_default_value);
  1072. zend_string *property_lastElementChild_name = zend_string_init("lastElementChild", sizeof("lastElementChild") - 1, 1);
  1073. zend_declare_typed_property(class_entry, property_lastElementChild_name, &property_lastElementChild_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_lastElementChild_class_DOMElement, 0, MAY_BE_NULL));
  1074. zend_string_release(property_lastElementChild_name);
  1075. zval property_childElementCount_default_value;
  1076. ZVAL_UNDEF(&property_childElementCount_default_value);
  1077. zend_string *property_childElementCount_name = zend_string_init("childElementCount", sizeof("childElementCount") - 1, 1);
  1078. zend_declare_typed_property(class_entry, property_childElementCount_name, &property_childElementCount_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
  1079. zend_string_release(property_childElementCount_name);
  1080. zend_string *property_previousElementSibling_class_DOMElement = zend_string_init("DOMElement", sizeof("DOMElement")-1, 1);
  1081. zval property_previousElementSibling_default_value;
  1082. ZVAL_UNDEF(&property_previousElementSibling_default_value);
  1083. zend_string *property_previousElementSibling_name = zend_string_init("previousElementSibling", sizeof("previousElementSibling") - 1, 1);
  1084. zend_declare_typed_property(class_entry, property_previousElementSibling_name, &property_previousElementSibling_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_previousElementSibling_class_DOMElement, 0, MAY_BE_NULL));
  1085. zend_string_release(property_previousElementSibling_name);
  1086. zend_string *property_nextElementSibling_class_DOMElement = zend_string_init("DOMElement", sizeof("DOMElement")-1, 1);
  1087. zval property_nextElementSibling_default_value;
  1088. ZVAL_UNDEF(&property_nextElementSibling_default_value);
  1089. zend_string *property_nextElementSibling_name = zend_string_init("nextElementSibling", sizeof("nextElementSibling") - 1, 1);
  1090. zend_declare_typed_property(class_entry, property_nextElementSibling_name, &property_nextElementSibling_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_nextElementSibling_class_DOMElement, 0, MAY_BE_NULL));
  1091. zend_string_release(property_nextElementSibling_name);
  1092. return class_entry;
  1093. }
  1094. static zend_class_entry *register_class_DOMDocument(zend_class_entry *class_entry_DOMNode, zend_class_entry *class_entry_DOMParentNode)
  1095. {
  1096. zend_class_entry ce, *class_entry;
  1097. INIT_CLASS_ENTRY(ce, "DOMDocument", class_DOMDocument_methods);
  1098. class_entry = zend_register_internal_class_ex(&ce, class_entry_DOMNode);
  1099. zend_class_implements(class_entry, 1, class_entry_DOMParentNode);
  1100. zend_string *property_doctype_class_DOMDocumentType = zend_string_init("DOMDocumentType", sizeof("DOMDocumentType")-1, 1);
  1101. zval property_doctype_default_value;
  1102. ZVAL_UNDEF(&property_doctype_default_value);
  1103. zend_string *property_doctype_name = zend_string_init("doctype", sizeof("doctype") - 1, 1);
  1104. zend_declare_typed_property(class_entry, property_doctype_name, &property_doctype_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_doctype_class_DOMDocumentType, 0, MAY_BE_NULL));
  1105. zend_string_release(property_doctype_name);
  1106. zend_string *property_implementation_class_DOMImplementation = zend_string_init("DOMImplementation", sizeof("DOMImplementation")-1, 1);
  1107. zval property_implementation_default_value;
  1108. ZVAL_UNDEF(&property_implementation_default_value);
  1109. zend_string *property_implementation_name = zend_string_init("implementation", sizeof("implementation") - 1, 1);
  1110. zend_declare_typed_property(class_entry, property_implementation_name, &property_implementation_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_implementation_class_DOMImplementation, 0, 0));
  1111. zend_string_release(property_implementation_name);
  1112. zend_string *property_documentElement_class_DOMElement = zend_string_init("DOMElement", sizeof("DOMElement")-1, 1);
  1113. zval property_documentElement_default_value;
  1114. ZVAL_UNDEF(&property_documentElement_default_value);
  1115. zend_string *property_documentElement_name = zend_string_init("documentElement", sizeof("documentElement") - 1, 1);
  1116. zend_declare_typed_property(class_entry, property_documentElement_name, &property_documentElement_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_documentElement_class_DOMElement, 0, MAY_BE_NULL));
  1117. zend_string_release(property_documentElement_name);
  1118. zval property_actualEncoding_default_value;
  1119. ZVAL_UNDEF(&property_actualEncoding_default_value);
  1120. zend_string *property_actualEncoding_name = zend_string_init("actualEncoding", sizeof("actualEncoding") - 1, 1);
  1121. zend_declare_typed_property(class_entry, property_actualEncoding_name, &property_actualEncoding_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING|MAY_BE_NULL));
  1122. zend_string_release(property_actualEncoding_name);
  1123. zval property_encoding_default_value;
  1124. ZVAL_UNDEF(&property_encoding_default_value);
  1125. zend_string *property_encoding_name = zend_string_init("encoding", sizeof("encoding") - 1, 1);
  1126. zend_declare_typed_property(class_entry, property_encoding_name, &property_encoding_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING|MAY_BE_NULL));
  1127. zend_string_release(property_encoding_name);
  1128. zval property_xmlEncoding_default_value;
  1129. ZVAL_UNDEF(&property_xmlEncoding_default_value);
  1130. zend_string *property_xmlEncoding_name = zend_string_init("xmlEncoding", sizeof("xmlEncoding") - 1, 1);
  1131. zend_declare_typed_property(class_entry, property_xmlEncoding_name, &property_xmlEncoding_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING|MAY_BE_NULL));
  1132. zend_string_release(property_xmlEncoding_name);
  1133. zval property_standalone_default_value;
  1134. ZVAL_UNDEF(&property_standalone_default_value);
  1135. zend_string *property_standalone_name = zend_string_init("standalone", sizeof("standalone") - 1, 1);
  1136. zend_declare_typed_property(class_entry, property_standalone_name, &property_standalone_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_BOOL));
  1137. zend_string_release(property_standalone_name);
  1138. zval property_xmlStandalone_default_value;
  1139. ZVAL_UNDEF(&property_xmlStandalone_default_value);
  1140. zend_string *property_xmlStandalone_name = zend_string_init("xmlStandalone", sizeof("xmlStandalone") - 1, 1);
  1141. zend_declare_typed_property(class_entry, property_xmlStandalone_name, &property_xmlStandalone_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_BOOL));
  1142. zend_string_release(property_xmlStandalone_name);
  1143. zval property_version_default_value;
  1144. ZVAL_UNDEF(&property_version_default_value);
  1145. zend_string *property_version_name = zend_string_init("version", sizeof("version") - 1, 1);
  1146. zend_declare_typed_property(class_entry, property_version_name, &property_version_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING|MAY_BE_NULL));
  1147. zend_string_release(property_version_name);
  1148. zval property_xmlVersion_default_value;
  1149. ZVAL_UNDEF(&property_xmlVersion_default_value);
  1150. zend_string *property_xmlVersion_name = zend_string_init("xmlVersion", sizeof("xmlVersion") - 1, 1);
  1151. zend_declare_typed_property(class_entry, property_xmlVersion_name, &property_xmlVersion_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING|MAY_BE_NULL));
  1152. zend_string_release(property_xmlVersion_name);
  1153. zval property_strictErrorChecking_default_value;
  1154. ZVAL_UNDEF(&property_strictErrorChecking_default_value);
  1155. zend_string *property_strictErrorChecking_name = zend_string_init("strictErrorChecking", sizeof("strictErrorChecking") - 1, 1);
  1156. zend_declare_typed_property(class_entry, property_strictErrorChecking_name, &property_strictErrorChecking_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_BOOL));
  1157. zend_string_release(property_strictErrorChecking_name);
  1158. zval property_documentURI_default_value;
  1159. ZVAL_UNDEF(&property_documentURI_default_value);
  1160. zend_string *property_documentURI_name = zend_string_init("documentURI", sizeof("documentURI") - 1, 1);
  1161. zend_declare_typed_property(class_entry, property_documentURI_name, &property_documentURI_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING|MAY_BE_NULL));
  1162. zend_string_release(property_documentURI_name);
  1163. zval property_config_default_value;
  1164. ZVAL_NULL(&property_config_default_value);
  1165. zend_string *property_config_name = zend_string_init("config", sizeof("config") - 1, 1);
  1166. zend_declare_typed_property(class_entry, property_config_name, &property_config_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_ANY));
  1167. zend_string_release(property_config_name);
  1168. zval property_formatOutput_default_value;
  1169. ZVAL_UNDEF(&property_formatOutput_default_value);
  1170. zend_string *property_formatOutput_name = zend_string_init("formatOutput", sizeof("formatOutput") - 1, 1);
  1171. zend_declare_typed_property(class_entry, property_formatOutput_name, &property_formatOutput_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_BOOL));
  1172. zend_string_release(property_formatOutput_name);
  1173. zval property_validateOnParse_default_value;
  1174. ZVAL_UNDEF(&property_validateOnParse_default_value);
  1175. zend_string *property_validateOnParse_name = zend_string_init("validateOnParse", sizeof("validateOnParse") - 1, 1);
  1176. zend_declare_typed_property(class_entry, property_validateOnParse_name, &property_validateOnParse_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_BOOL));
  1177. zend_string_release(property_validateOnParse_name);
  1178. zval property_resolveExternals_default_value;
  1179. ZVAL_UNDEF(&property_resolveExternals_default_value);
  1180. zend_string *property_resolveExternals_name = zend_string_init("resolveExternals", sizeof("resolveExternals") - 1, 1);
  1181. zend_declare_typed_property(class_entry, property_resolveExternals_name, &property_resolveExternals_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_BOOL));
  1182. zend_string_release(property_resolveExternals_name);
  1183. zval property_preserveWhiteSpace_default_value;
  1184. ZVAL_UNDEF(&property_preserveWhiteSpace_default_value);
  1185. zend_string *property_preserveWhiteSpace_name = zend_string_init("preserveWhiteSpace", sizeof("preserveWhiteSpace") - 1, 1);
  1186. zend_declare_typed_property(class_entry, property_preserveWhiteSpace_name, &property_preserveWhiteSpace_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_BOOL));
  1187. zend_string_release(property_preserveWhiteSpace_name);
  1188. zval property_recover_default_value;
  1189. ZVAL_UNDEF(&property_recover_default_value);
  1190. zend_string *property_recover_name = zend_string_init("recover", sizeof("recover") - 1, 1);
  1191. zend_declare_typed_property(class_entry, property_recover_name, &property_recover_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_BOOL));
  1192. zend_string_release(property_recover_name);
  1193. zval property_substituteEntities_default_value;
  1194. ZVAL_UNDEF(&property_substituteEntities_default_value);
  1195. zend_string *property_substituteEntities_name = zend_string_init("substituteEntities", sizeof("substituteEntities") - 1, 1);
  1196. zend_declare_typed_property(class_entry, property_substituteEntities_name, &property_substituteEntities_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_BOOL));
  1197. zend_string_release(property_substituteEntities_name);
  1198. zend_string *property_firstElementChild_class_DOMElement = zend_string_init("DOMElement", sizeof("DOMElement")-1, 1);
  1199. zval property_firstElementChild_default_value;
  1200. ZVAL_UNDEF(&property_firstElementChild_default_value);
  1201. zend_string *property_firstElementChild_name = zend_string_init("firstElementChild", sizeof("firstElementChild") - 1, 1);
  1202. zend_declare_typed_property(class_entry, property_firstElementChild_name, &property_firstElementChild_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_firstElementChild_class_DOMElement, 0, MAY_BE_NULL));
  1203. zend_string_release(property_firstElementChild_name);
  1204. zend_string *property_lastElementChild_class_DOMElement = zend_string_init("DOMElement", sizeof("DOMElement")-1, 1);
  1205. zval property_lastElementChild_default_value;
  1206. ZVAL_UNDEF(&property_lastElementChild_default_value);
  1207. zend_string *property_lastElementChild_name = zend_string_init("lastElementChild", sizeof("lastElementChild") - 1, 1);
  1208. zend_declare_typed_property(class_entry, property_lastElementChild_name, &property_lastElementChild_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_lastElementChild_class_DOMElement, 0, MAY_BE_NULL));
  1209. zend_string_release(property_lastElementChild_name);
  1210. zval property_childElementCount_default_value;
  1211. ZVAL_UNDEF(&property_childElementCount_default_value);
  1212. zend_string *property_childElementCount_name = zend_string_init("childElementCount", sizeof("childElementCount") - 1, 1);
  1213. zend_declare_typed_property(class_entry, property_childElementCount_name, &property_childElementCount_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
  1214. zend_string_release(property_childElementCount_name);
  1215. return class_entry;
  1216. }
  1217. static zend_class_entry *register_class_DOMException(zend_class_entry *class_entry_Exception)
  1218. {
  1219. zend_class_entry ce, *class_entry;
  1220. INIT_CLASS_ENTRY(ce, "DOMException", class_DOMException_methods);
  1221. class_entry = zend_register_internal_class_ex(&ce, class_entry_Exception);
  1222. class_entry->ce_flags |= ZEND_ACC_FINAL;
  1223. zval property_code_default_value;
  1224. ZVAL_LONG(&property_code_default_value, 0);
  1225. zend_string *property_code_name = zend_string_init("code", sizeof("code") - 1, 1);
  1226. zend_declare_property_ex(class_entry, property_code_name, &property_code_default_value, ZEND_ACC_PUBLIC, NULL);
  1227. zend_string_release(property_code_name);
  1228. return class_entry;
  1229. }
  1230. static zend_class_entry *register_class_DOMText(zend_class_entry *class_entry_DOMCharacterData)
  1231. {
  1232. zend_class_entry ce, *class_entry;
  1233. INIT_CLASS_ENTRY(ce, "DOMText", class_DOMText_methods);
  1234. class_entry = zend_register_internal_class_ex(&ce, class_entry_DOMCharacterData);
  1235. zval property_wholeText_default_value;
  1236. ZVAL_UNDEF(&property_wholeText_default_value);
  1237. zend_string *property_wholeText_name = zend_string_init("wholeText", sizeof("wholeText") - 1, 1);
  1238. zend_declare_typed_property(class_entry, property_wholeText_name, &property_wholeText_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING));
  1239. zend_string_release(property_wholeText_name);
  1240. return class_entry;
  1241. }
  1242. static zend_class_entry *register_class_DOMNamedNodeMap(zend_class_entry *class_entry_IteratorAggregate, zend_class_entry *class_entry_Countable)
  1243. {
  1244. zend_class_entry ce, *class_entry;
  1245. INIT_CLASS_ENTRY(ce, "DOMNamedNodeMap", class_DOMNamedNodeMap_methods);
  1246. class_entry = zend_register_internal_class_ex(&ce, NULL);
  1247. zend_class_implements(class_entry, 2, class_entry_IteratorAggregate, class_entry_Countable);
  1248. zval property_length_default_value;
  1249. ZVAL_UNDEF(&property_length_default_value);
  1250. zend_string *property_length_name = zend_string_init("length", sizeof("length") - 1, 1);
  1251. zend_declare_typed_property(class_entry, property_length_name, &property_length_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
  1252. zend_string_release(property_length_name);
  1253. return class_entry;
  1254. }
  1255. static zend_class_entry *register_class_DOMEntity(zend_class_entry *class_entry_DOMNode)
  1256. {
  1257. zend_class_entry ce, *class_entry;
  1258. INIT_CLASS_ENTRY(ce, "DOMEntity", class_DOMEntity_methods);
  1259. class_entry = zend_register_internal_class_ex(&ce, class_entry_DOMNode);
  1260. zval property_publicId_default_value;
  1261. ZVAL_UNDEF(&property_publicId_default_value);
  1262. zend_string *property_publicId_name = zend_string_init("publicId", sizeof("publicId") - 1, 1);
  1263. zend_declare_typed_property(class_entry, property_publicId_name, &property_publicId_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING|MAY_BE_NULL));
  1264. zend_string_release(property_publicId_name);
  1265. zval property_systemId_default_value;
  1266. ZVAL_UNDEF(&property_systemId_default_value);
  1267. zend_string *property_systemId_name = zend_string_init("systemId", sizeof("systemId") - 1, 1);
  1268. zend_declare_typed_property(class_entry, property_systemId_name, &property_systemId_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING|MAY_BE_NULL));
  1269. zend_string_release(property_systemId_name);
  1270. zval property_notationName_default_value;
  1271. ZVAL_UNDEF(&property_notationName_default_value);
  1272. zend_string *property_notationName_name = zend_string_init("notationName", sizeof("notationName") - 1, 1);
  1273. zend_declare_typed_property(class_entry, property_notationName_name, &property_notationName_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING|MAY_BE_NULL));
  1274. zend_string_release(property_notationName_name);
  1275. zval property_actualEncoding_default_value;
  1276. ZVAL_NULL(&property_actualEncoding_default_value);
  1277. zend_string *property_actualEncoding_name = zend_string_init("actualEncoding", sizeof("actualEncoding") - 1, 1);
  1278. zend_declare_typed_property(class_entry, property_actualEncoding_name, &property_actualEncoding_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING|MAY_BE_NULL));
  1279. zend_string_release(property_actualEncoding_name);
  1280. zval property_encoding_default_value;
  1281. ZVAL_NULL(&property_encoding_default_value);
  1282. zend_string *property_encoding_name = zend_string_init("encoding", sizeof("encoding") - 1, 1);
  1283. zend_declare_typed_property(class_entry, property_encoding_name, &property_encoding_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING|MAY_BE_NULL));
  1284. zend_string_release(property_encoding_name);
  1285. zval property_version_default_value;
  1286. ZVAL_NULL(&property_version_default_value);
  1287. zend_string *property_version_name = zend_string_init("version", sizeof("version") - 1, 1);
  1288. zend_declare_typed_property(class_entry, property_version_name, &property_version_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING|MAY_BE_NULL));
  1289. zend_string_release(property_version_name);
  1290. return class_entry;
  1291. }
  1292. static zend_class_entry *register_class_DOMEntityReference(zend_class_entry *class_entry_DOMNode)
  1293. {
  1294. zend_class_entry ce, *class_entry;
  1295. INIT_CLASS_ENTRY(ce, "DOMEntityReference", class_DOMEntityReference_methods);
  1296. class_entry = zend_register_internal_class_ex(&ce, class_entry_DOMNode);
  1297. return class_entry;
  1298. }
  1299. static zend_class_entry *register_class_DOMNotation(zend_class_entry *class_entry_DOMNode)
  1300. {
  1301. zend_class_entry ce, *class_entry;
  1302. INIT_CLASS_ENTRY(ce, "DOMNotation", class_DOMNotation_methods);
  1303. class_entry = zend_register_internal_class_ex(&ce, class_entry_DOMNode);
  1304. zval property_publicId_default_value;
  1305. ZVAL_UNDEF(&property_publicId_default_value);
  1306. zend_string *property_publicId_name = zend_string_init("publicId", sizeof("publicId") - 1, 1);
  1307. zend_declare_typed_property(class_entry, property_publicId_name, &property_publicId_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING));
  1308. zend_string_release(property_publicId_name);
  1309. zval property_systemId_default_value;
  1310. ZVAL_UNDEF(&property_systemId_default_value);
  1311. zend_string *property_systemId_name = zend_string_init("systemId", sizeof("systemId") - 1, 1);
  1312. zend_declare_typed_property(class_entry, property_systemId_name, &property_systemId_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING));
  1313. zend_string_release(property_systemId_name);
  1314. return class_entry;
  1315. }
  1316. static zend_class_entry *register_class_DOMProcessingInstruction(zend_class_entry *class_entry_DOMNode)
  1317. {
  1318. zend_class_entry ce, *class_entry;
  1319. INIT_CLASS_ENTRY(ce, "DOMProcessingInstruction", class_DOMProcessingInstruction_methods);
  1320. class_entry = zend_register_internal_class_ex(&ce, class_entry_DOMNode);
  1321. zval property_target_default_value;
  1322. ZVAL_UNDEF(&property_target_default_value);
  1323. zend_string *property_target_name = zend_string_init("target", sizeof("target") - 1, 1);
  1324. zend_declare_typed_property(class_entry, property_target_name, &property_target_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING));
  1325. zend_string_release(property_target_name);
  1326. zval property_data_default_value;
  1327. ZVAL_UNDEF(&property_data_default_value);
  1328. zend_string *property_data_name = zend_string_init("data", sizeof("data") - 1, 1);
  1329. zend_declare_typed_property(class_entry, property_data_name, &property_data_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING));
  1330. zend_string_release(property_data_name);
  1331. return class_entry;
  1332. }
  1333. static zend_class_entry *register_class_DOMXPath(void)
  1334. {
  1335. zend_class_entry ce, *class_entry;
  1336. INIT_CLASS_ENTRY(ce, "DOMXPath", class_DOMXPath_methods);
  1337. class_entry = zend_register_internal_class_ex(&ce, NULL);
  1338. class_entry->ce_flags |= ZEND_ACC_NOT_SERIALIZABLE;
  1339. zend_string *property_document_class_DOMDocument = zend_string_init("DOMDocument", sizeof("DOMDocument")-1, 1);
  1340. zval property_document_default_value;
  1341. ZVAL_UNDEF(&property_document_default_value);
  1342. zend_string *property_document_name = zend_string_init("document", sizeof("document") - 1, 1);
  1343. zend_declare_typed_property(class_entry, property_document_name, &property_document_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_document_class_DOMDocument, 0, 0));
  1344. zend_string_release(property_document_name);
  1345. zval property_registerNodeNamespaces_default_value;
  1346. ZVAL_UNDEF(&property_registerNodeNamespaces_default_value);
  1347. zend_string *property_registerNodeNamespaces_name = zend_string_init("registerNodeNamespaces", sizeof("registerNodeNamespaces") - 1, 1);
  1348. zend_declare_typed_property(class_entry, property_registerNodeNamespaces_name, &property_registerNodeNamespaces_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_BOOL));
  1349. zend_string_release(property_registerNodeNamespaces_name);
  1350. return class_entry;
  1351. }