xref: /PHP-8.0/ext/pdo/pdo_stmt_arginfo.h (revision 068c8db2)
1 /* This is a generated file, edit the .stub.php file instead.
2  * Stub hash: 2717622c27bdc6aac5ec83609c11dec6cbc9f5d7 */
3 
4 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_PDOStatement_bindColumn, 0, 0, 2)
5 	ZEND_ARG_TYPE_MASK(0, column, MAY_BE_STRING|MAY_BE_LONG, NULL)
6 	ZEND_ARG_TYPE_INFO(1, var, IS_MIXED, 0)
7 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, type, IS_LONG, 0, "PDO::PARAM_STR")
8 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, maxLength, IS_LONG, 0, "0")
9 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, driverOptions, IS_MIXED, 0, "null")
10 ZEND_END_ARG_INFO()
11 
12 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_PDOStatement_bindParam, 0, 0, 2)
13 	ZEND_ARG_TYPE_MASK(0, param, MAY_BE_STRING|MAY_BE_LONG, NULL)
14 	ZEND_ARG_TYPE_INFO(1, var, IS_MIXED, 0)
15 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, type, IS_LONG, 0, "PDO::PARAM_STR")
16 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, maxLength, IS_LONG, 0, "0")
17 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, driverOptions, IS_MIXED, 0, "null")
18 ZEND_END_ARG_INFO()
19 
20 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_PDOStatement_bindValue, 0, 0, 2)
21 	ZEND_ARG_TYPE_MASK(0, param, MAY_BE_STRING|MAY_BE_LONG, NULL)
22 	ZEND_ARG_TYPE_INFO(0, value, IS_MIXED, 0)
23 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, type, IS_LONG, 0, "PDO::PARAM_STR")
24 ZEND_END_ARG_INFO()
25 
26 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_PDOStatement_closeCursor, 0, 0, 0)
27 ZEND_END_ARG_INFO()
28 
29 #define arginfo_class_PDOStatement_columnCount arginfo_class_PDOStatement_closeCursor
30 
31 #define arginfo_class_PDOStatement_debugDumpParams arginfo_class_PDOStatement_closeCursor
32 
33 #define arginfo_class_PDOStatement_errorCode arginfo_class_PDOStatement_closeCursor
34 
35 #define arginfo_class_PDOStatement_errorInfo arginfo_class_PDOStatement_closeCursor
36 
37 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_PDOStatement_execute, 0, 0, 0)
38 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, params, IS_ARRAY, 1, "null")
39 ZEND_END_ARG_INFO()
40 
41 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_PDOStatement_fetch, 0, 0, 0)
42 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, mode, IS_LONG, 0, "PDO::FETCH_DEFAULT")
43 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, cursorOrientation, IS_LONG, 0, "PDO::FETCH_ORI_NEXT")
44 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, cursorOffset, IS_LONG, 0, "0")
45 ZEND_END_ARG_INFO()
46 
47 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_PDOStatement_fetchAll, 0, 0, 0)
48 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, mode, IS_LONG, 0, "PDO::FETCH_DEFAULT")
49 	ZEND_ARG_VARIADIC_TYPE_INFO(0, args, IS_MIXED, 0)
50 ZEND_END_ARG_INFO()
51 
52 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_PDOStatement_fetchColumn, 0, 0, 0)
53 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, column, IS_LONG, 0, "0")
54 ZEND_END_ARG_INFO()
55 
56 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_PDOStatement_fetchObject, 0, 0, 0)
57 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, class, IS_STRING, 1, "\"stdClass\"")
58 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, constructorArgs, IS_ARRAY, 0, "[]")
59 ZEND_END_ARG_INFO()
60 
61 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_PDOStatement_getAttribute, 0, 0, 1)
62 	ZEND_ARG_TYPE_INFO(0, name, IS_LONG, 0)
63 ZEND_END_ARG_INFO()
64 
65 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_PDOStatement_getColumnMeta, 0, 0, 1)
66 	ZEND_ARG_TYPE_INFO(0, column, IS_LONG, 0)
67 ZEND_END_ARG_INFO()
68 
69 #define arginfo_class_PDOStatement_nextRowset arginfo_class_PDOStatement_closeCursor
70 
71 #define arginfo_class_PDOStatement_rowCount arginfo_class_PDOStatement_closeCursor
72 
73 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_PDOStatement_setAttribute, 0, 0, 2)
74 	ZEND_ARG_TYPE_INFO(0, attribute, IS_LONG, 0)
75 	ZEND_ARG_TYPE_INFO(0, value, IS_MIXED, 0)
76 ZEND_END_ARG_INFO()
77 
78 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_PDOStatement_setFetchMode, 0, 0, 1)
79 	ZEND_ARG_TYPE_INFO(0, mode, IS_LONG, 0)
80 	ZEND_ARG_VARIADIC_TYPE_INFO(0, args, IS_MIXED, 0)
81 ZEND_END_ARG_INFO()
82 
83 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_PDOStatement_getIterator, 0, 0, Iterator, 0)
84 ZEND_END_ARG_INFO()
85 
86 
87 ZEND_METHOD(PDOStatement, bindColumn);
88 ZEND_METHOD(PDOStatement, bindParam);
89 ZEND_METHOD(PDOStatement, bindValue);
90 ZEND_METHOD(PDOStatement, closeCursor);
91 ZEND_METHOD(PDOStatement, columnCount);
92 ZEND_METHOD(PDOStatement, debugDumpParams);
93 ZEND_METHOD(PDOStatement, errorCode);
94 ZEND_METHOD(PDOStatement, errorInfo);
95 ZEND_METHOD(PDOStatement, execute);
96 ZEND_METHOD(PDOStatement, fetch);
97 ZEND_METHOD(PDOStatement, fetchAll);
98 ZEND_METHOD(PDOStatement, fetchColumn);
99 ZEND_METHOD(PDOStatement, fetchObject);
100 ZEND_METHOD(PDOStatement, getAttribute);
101 ZEND_METHOD(PDOStatement, getColumnMeta);
102 ZEND_METHOD(PDOStatement, nextRowset);
103 ZEND_METHOD(PDOStatement, rowCount);
104 ZEND_METHOD(PDOStatement, setAttribute);
105 ZEND_METHOD(PDOStatement, setFetchMode);
106 ZEND_METHOD(PDOStatement, getIterator);
107 
108 
109 static const zend_function_entry class_PDOStatement_methods[] = {
110 	ZEND_ME(PDOStatement, bindColumn, arginfo_class_PDOStatement_bindColumn, ZEND_ACC_PUBLIC)
111 	ZEND_ME(PDOStatement, bindParam, arginfo_class_PDOStatement_bindParam, ZEND_ACC_PUBLIC)
112 	ZEND_ME(PDOStatement, bindValue, arginfo_class_PDOStatement_bindValue, ZEND_ACC_PUBLIC)
113 	ZEND_ME(PDOStatement, closeCursor, arginfo_class_PDOStatement_closeCursor, ZEND_ACC_PUBLIC)
114 	ZEND_ME(PDOStatement, columnCount, arginfo_class_PDOStatement_columnCount, ZEND_ACC_PUBLIC)
115 	ZEND_ME(PDOStatement, debugDumpParams, arginfo_class_PDOStatement_debugDumpParams, ZEND_ACC_PUBLIC)
116 	ZEND_ME(PDOStatement, errorCode, arginfo_class_PDOStatement_errorCode, ZEND_ACC_PUBLIC)
117 	ZEND_ME(PDOStatement, errorInfo, arginfo_class_PDOStatement_errorInfo, ZEND_ACC_PUBLIC)
118 	ZEND_ME(PDOStatement, execute, arginfo_class_PDOStatement_execute, ZEND_ACC_PUBLIC)
119 	ZEND_ME(PDOStatement, fetch, arginfo_class_PDOStatement_fetch, ZEND_ACC_PUBLIC)
120 	ZEND_ME(PDOStatement, fetchAll, arginfo_class_PDOStatement_fetchAll, ZEND_ACC_PUBLIC)
121 	ZEND_ME(PDOStatement, fetchColumn, arginfo_class_PDOStatement_fetchColumn, ZEND_ACC_PUBLIC)
122 	ZEND_ME(PDOStatement, fetchObject, arginfo_class_PDOStatement_fetchObject, ZEND_ACC_PUBLIC)
123 	ZEND_ME(PDOStatement, getAttribute, arginfo_class_PDOStatement_getAttribute, ZEND_ACC_PUBLIC)
124 	ZEND_ME(PDOStatement, getColumnMeta, arginfo_class_PDOStatement_getColumnMeta, ZEND_ACC_PUBLIC)
125 	ZEND_ME(PDOStatement, nextRowset, arginfo_class_PDOStatement_nextRowset, ZEND_ACC_PUBLIC)
126 	ZEND_ME(PDOStatement, rowCount, arginfo_class_PDOStatement_rowCount, ZEND_ACC_PUBLIC)
127 	ZEND_ME(PDOStatement, setAttribute, arginfo_class_PDOStatement_setAttribute, ZEND_ACC_PUBLIC)
128 	ZEND_ME(PDOStatement, setFetchMode, arginfo_class_PDOStatement_setFetchMode, ZEND_ACC_PUBLIC)
129 	ZEND_ME(PDOStatement, getIterator, arginfo_class_PDOStatement_getIterator, ZEND_ACC_PUBLIC)
130 	ZEND_FE_END
131 };
132 
133 
134 static const zend_function_entry class_PDORow_methods[] = {
135 	ZEND_FE_END
136 };
137