1 /* This is a generated file, edit the .stub.php file instead.
2  * Stub hash: 03981bac1d9aef20ccf0adf36f75496c3da8e605 */
3 
4 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_TYPE_MASK_EX(arginfo_simplexml_load_file, 0, 1, SimpleXMLElement, MAY_BE_FALSE)
5 	ZEND_ARG_TYPE_INFO(0, filename, IS_STRING, 0)
6 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, class_name, IS_STRING, 1, "SimpleXMLElement::class")
7 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, options, IS_LONG, 0, "0")
8 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, namespace_or_prefix, IS_STRING, 0, "\"\"")
9 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, is_prefix, _IS_BOOL, 0, "false")
10 ZEND_END_ARG_INFO()
11 
12 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_TYPE_MASK_EX(arginfo_simplexml_load_string, 0, 1, SimpleXMLElement, MAY_BE_FALSE)
13 	ZEND_ARG_TYPE_INFO(0, data, IS_STRING, 0)
14 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, class_name, IS_STRING, 1, "SimpleXMLElement::class")
15 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, options, IS_LONG, 0, "0")
16 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, namespace_or_prefix, IS_STRING, 0, "\"\"")
17 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, is_prefix, _IS_BOOL, 0, "false")
18 ZEND_END_ARG_INFO()
19 
20 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_simplexml_import_dom, 0, 1, SimpleXMLElement, 1)
21 	ZEND_ARG_OBJ_TYPE_MASK(0, node, SimpleXMLElement|DOMNode, 0, NULL)
22 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, class_name, IS_STRING, 1, "SimpleXMLElement::class")
23 ZEND_END_ARG_INFO()
24 
25 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_SimpleXMLElement_xpath, 0, 0, 1)
26 	ZEND_ARG_TYPE_INFO(0, expression, IS_STRING, 0)
27 ZEND_END_ARG_INFO()
28 
29 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_SimpleXMLElement_registerXPathNamespace, 0, 0, 2)
30 	ZEND_ARG_TYPE_INFO(0, prefix, IS_STRING, 0)
31 	ZEND_ARG_TYPE_INFO(0, namespace, IS_STRING, 0)
32 ZEND_END_ARG_INFO()
33 
34 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_SimpleXMLElement_asXML, 0, 0, 0)
35 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, filename, IS_STRING, 1, "null")
36 ZEND_END_ARG_INFO()
37 
38 #define arginfo_class_SimpleXMLElement_saveXML arginfo_class_SimpleXMLElement_asXML
39 
40 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_SimpleXMLElement_getNamespaces, 0, 0, 0)
41 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, recursive, _IS_BOOL, 0, "false")
42 ZEND_END_ARG_INFO()
43 
44 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_SimpleXMLElement_getDocNamespaces, 0, 0, 0)
45 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, recursive, _IS_BOOL, 0, "false")
46 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, fromRoot, _IS_BOOL, 0, "true")
47 ZEND_END_ARG_INFO()
48 
49 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_SimpleXMLElement_children, 0, 0, 0)
50 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, namespaceOrPrefix, IS_STRING, 1, "null")
51 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, isPrefix, _IS_BOOL, 0, "false")
52 ZEND_END_ARG_INFO()
53 
54 #define arginfo_class_SimpleXMLElement_attributes arginfo_class_SimpleXMLElement_children
55 
56 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_SimpleXMLElement___construct, 0, 0, 1)
57 	ZEND_ARG_TYPE_INFO(0, data, IS_STRING, 0)
58 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, options, IS_LONG, 0, "0")
59 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, dataIsURL, _IS_BOOL, 0, "false")
60 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, namespaceOrPrefix, IS_STRING, 0, "\"\"")
61 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, isPrefix, _IS_BOOL, 0, "false")
62 ZEND_END_ARG_INFO()
63 
64 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_SimpleXMLElement_addChild, 0, 0, 1)
65 	ZEND_ARG_TYPE_INFO(0, qualifiedName, IS_STRING, 0)
66 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, value, IS_STRING, 1, "null")
67 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, namespace, IS_STRING, 1, "null")
68 ZEND_END_ARG_INFO()
69 
70 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_SimpleXMLElement_addAttribute, 0, 0, 2)
71 	ZEND_ARG_TYPE_INFO(0, qualifiedName, IS_STRING, 0)
72 	ZEND_ARG_TYPE_INFO(0, value, IS_STRING, 0)
73 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, namespace, IS_STRING, 1, "null")
74 ZEND_END_ARG_INFO()
75 
76 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_SimpleXMLElement_getName, 0, 0, 0)
77 ZEND_END_ARG_INFO()
78 
79 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_SimpleXMLElement___toString, 0, 0, IS_STRING, 0)
80 ZEND_END_ARG_INFO()
81 
82 #define arginfo_class_SimpleXMLElement_count arginfo_class_SimpleXMLElement_getName
83 
84 #define arginfo_class_SimpleXMLElement_rewind arginfo_class_SimpleXMLElement_getName
85 
86 #define arginfo_class_SimpleXMLElement_valid arginfo_class_SimpleXMLElement_getName
87 
88 #define arginfo_class_SimpleXMLElement_current arginfo_class_SimpleXMLElement_getName
89 
90 #define arginfo_class_SimpleXMLElement_key arginfo_class_SimpleXMLElement_getName
91 
92 #define arginfo_class_SimpleXMLElement_next arginfo_class_SimpleXMLElement_getName
93 
94 #define arginfo_class_SimpleXMLElement_hasChildren arginfo_class_SimpleXMLElement_getName
95 
96 #define arginfo_class_SimpleXMLElement_getChildren arginfo_class_SimpleXMLElement_getName
97 
98 
99 ZEND_FUNCTION(simplexml_load_file);
100 ZEND_FUNCTION(simplexml_load_string);
101 ZEND_FUNCTION(simplexml_import_dom);
102 ZEND_METHOD(SimpleXMLElement, xpath);
103 ZEND_METHOD(SimpleXMLElement, registerXPathNamespace);
104 ZEND_METHOD(SimpleXMLElement, asXML);
105 ZEND_METHOD(SimpleXMLElement, getNamespaces);
106 ZEND_METHOD(SimpleXMLElement, getDocNamespaces);
107 ZEND_METHOD(SimpleXMLElement, children);
108 ZEND_METHOD(SimpleXMLElement, attributes);
109 ZEND_METHOD(SimpleXMLElement, __construct);
110 ZEND_METHOD(SimpleXMLElement, addChild);
111 ZEND_METHOD(SimpleXMLElement, addAttribute);
112 ZEND_METHOD(SimpleXMLElement, getName);
113 ZEND_METHOD(SimpleXMLElement, __toString);
114 ZEND_METHOD(SimpleXMLElement, count);
115 ZEND_METHOD(SimpleXMLElement, rewind);
116 ZEND_METHOD(SimpleXMLElement, valid);
117 ZEND_METHOD(SimpleXMLElement, current);
118 ZEND_METHOD(SimpleXMLElement, key);
119 ZEND_METHOD(SimpleXMLElement, next);
120 ZEND_METHOD(SimpleXMLElement, hasChildren);
121 ZEND_METHOD(SimpleXMLElement, getChildren);
122 
123 
124 static const zend_function_entry ext_functions[] = {
125 	ZEND_FE(simplexml_load_file, arginfo_simplexml_load_file)
126 	ZEND_FE(simplexml_load_string, arginfo_simplexml_load_string)
127 	ZEND_FE(simplexml_import_dom, arginfo_simplexml_import_dom)
128 	ZEND_FE_END
129 };
130 
131 
132 static const zend_function_entry class_SimpleXMLElement_methods[] = {
133 	ZEND_ME(SimpleXMLElement, xpath, arginfo_class_SimpleXMLElement_xpath, ZEND_ACC_PUBLIC)
134 	ZEND_ME(SimpleXMLElement, registerXPathNamespace, arginfo_class_SimpleXMLElement_registerXPathNamespace, ZEND_ACC_PUBLIC)
135 	ZEND_ME(SimpleXMLElement, asXML, arginfo_class_SimpleXMLElement_asXML, ZEND_ACC_PUBLIC)
136 	ZEND_MALIAS(SimpleXMLElement, saveXML, asXML, arginfo_class_SimpleXMLElement_saveXML, ZEND_ACC_PUBLIC)
137 	ZEND_ME(SimpleXMLElement, getNamespaces, arginfo_class_SimpleXMLElement_getNamespaces, ZEND_ACC_PUBLIC)
138 	ZEND_ME(SimpleXMLElement, getDocNamespaces, arginfo_class_SimpleXMLElement_getDocNamespaces, ZEND_ACC_PUBLIC)
139 	ZEND_ME(SimpleXMLElement, children, arginfo_class_SimpleXMLElement_children, ZEND_ACC_PUBLIC)
140 	ZEND_ME(SimpleXMLElement, attributes, arginfo_class_SimpleXMLElement_attributes, ZEND_ACC_PUBLIC)
141 	ZEND_ME(SimpleXMLElement, __construct, arginfo_class_SimpleXMLElement___construct, ZEND_ACC_PUBLIC)
142 	ZEND_ME(SimpleXMLElement, addChild, arginfo_class_SimpleXMLElement_addChild, ZEND_ACC_PUBLIC)
143 	ZEND_ME(SimpleXMLElement, addAttribute, arginfo_class_SimpleXMLElement_addAttribute, ZEND_ACC_PUBLIC)
144 	ZEND_ME(SimpleXMLElement, getName, arginfo_class_SimpleXMLElement_getName, ZEND_ACC_PUBLIC)
145 	ZEND_ME(SimpleXMLElement, __toString, arginfo_class_SimpleXMLElement___toString, ZEND_ACC_PUBLIC)
146 	ZEND_ME(SimpleXMLElement, count, arginfo_class_SimpleXMLElement_count, ZEND_ACC_PUBLIC)
147 	ZEND_ME(SimpleXMLElement, rewind, arginfo_class_SimpleXMLElement_rewind, ZEND_ACC_PUBLIC)
148 	ZEND_ME(SimpleXMLElement, valid, arginfo_class_SimpleXMLElement_valid, ZEND_ACC_PUBLIC)
149 	ZEND_ME(SimpleXMLElement, current, arginfo_class_SimpleXMLElement_current, ZEND_ACC_PUBLIC)
150 	ZEND_ME(SimpleXMLElement, key, arginfo_class_SimpleXMLElement_key, ZEND_ACC_PUBLIC)
151 	ZEND_ME(SimpleXMLElement, next, arginfo_class_SimpleXMLElement_next, ZEND_ACC_PUBLIC)
152 	ZEND_ME(SimpleXMLElement, hasChildren, arginfo_class_SimpleXMLElement_hasChildren, ZEND_ACC_PUBLIC)
153 	ZEND_ME(SimpleXMLElement, getChildren, arginfo_class_SimpleXMLElement_getChildren, ZEND_ACC_PUBLIC)
154 	ZEND_FE_END
155 };
156 
157 
158 static const zend_function_entry class_SimpleXMLIterator_methods[] = {
159 	ZEND_FE_END
160 };
161