1 /* This is a generated file, edit the .stub.php file instead. 2 * Stub hash: 95565a6dc86d41fa6ddf3228d68ac0c5167dbe37 */ 3 4 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_oci_define_by_name, 0, 3, _IS_BOOL, 0) 5 ZEND_ARG_INFO(0, statement) 6 ZEND_ARG_TYPE_INFO(0, column, IS_STRING, 0) 7 ZEND_ARG_TYPE_INFO(1, var, IS_MIXED, 0) 8 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, type, IS_LONG, 0, "0") 9 ZEND_END_ARG_INFO() 10 11 #define arginfo_ocidefinebyname arginfo_oci_define_by_name 12 13 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_oci_bind_by_name, 0, 3, _IS_BOOL, 0) 14 ZEND_ARG_INFO(0, statement) 15 ZEND_ARG_TYPE_INFO(0, param, IS_STRING, 0) 16 ZEND_ARG_TYPE_INFO(1, var, IS_MIXED, 0) 17 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, max_length, IS_LONG, 0, "-1") 18 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, type, IS_LONG, 0, "0") 19 ZEND_END_ARG_INFO() 20 21 #define arginfo_ocibindbyname arginfo_oci_bind_by_name 22 23 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_oci_bind_array_by_name, 0, 4, _IS_BOOL, 0) 24 ZEND_ARG_INFO(0, statement) 25 ZEND_ARG_TYPE_INFO(0, param, IS_STRING, 0) 26 ZEND_ARG_INFO(1, var) 27 ZEND_ARG_TYPE_INFO(0, max_array_length, IS_LONG, 0) 28 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, max_item_length, IS_LONG, 0, "-1") 29 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, type, IS_LONG, 0, "SQLT_AFC") 30 ZEND_END_ARG_INFO() 31 32 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_oci_free_descriptor, 0, 1, _IS_BOOL, 0) 33 ZEND_ARG_OBJ_INFO(0, lob, OCILob, 0) 34 ZEND_END_ARG_INFO() 35 36 #define arginfo_ocifreedesc arginfo_oci_free_descriptor 37 38 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_oci_lob_save, 0, 2, _IS_BOOL, 0) 39 ZEND_ARG_OBJ_INFO(0, lob, OCILob, 0) 40 ZEND_ARG_TYPE_INFO(0, data, IS_STRING, 0) 41 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, offset, IS_LONG, 0, "0") 42 ZEND_END_ARG_INFO() 43 44 #define arginfo_ocisavelob arginfo_oci_lob_save 45 46 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_oci_lob_import, 0, 2, _IS_BOOL, 0) 47 ZEND_ARG_OBJ_INFO(0, lob, OCILob, 0) 48 ZEND_ARG_TYPE_INFO(0, filename, IS_STRING, 0) 49 ZEND_END_ARG_INFO() 50 51 #define arginfo_ocisavelobfile arginfo_oci_lob_import 52 53 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_oci_lob_load, 0, 1, MAY_BE_STRING|MAY_BE_FALSE) 54 ZEND_ARG_OBJ_INFO(0, lob, OCILob, 0) 55 ZEND_END_ARG_INFO() 56 57 #define arginfo_ociloadlob arginfo_oci_lob_load 58 59 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_oci_lob_read, 0, 2, MAY_BE_STRING|MAY_BE_FALSE) 60 ZEND_ARG_OBJ_INFO(0, lob, OCILob, 0) 61 ZEND_ARG_TYPE_INFO(0, length, IS_LONG, 0) 62 ZEND_END_ARG_INFO() 63 64 #define arginfo_oci_lob_eof arginfo_oci_free_descriptor 65 66 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_oci_lob_tell, 0, 1, MAY_BE_LONG|MAY_BE_FALSE) 67 ZEND_ARG_OBJ_INFO(0, lob, OCILob, 0) 68 ZEND_END_ARG_INFO() 69 70 #define arginfo_oci_lob_rewind arginfo_oci_free_descriptor 71 72 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_oci_lob_seek, 0, 2, _IS_BOOL, 0) 73 ZEND_ARG_OBJ_INFO(0, lob, OCILob, 0) 74 ZEND_ARG_TYPE_INFO(0, offset, IS_LONG, 0) 75 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, whence, IS_LONG, 0, "OCI_SEEK_SET") 76 ZEND_END_ARG_INFO() 77 78 #define arginfo_oci_lob_size arginfo_oci_lob_tell 79 80 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_oci_lob_write, 0, 2, MAY_BE_LONG|MAY_BE_FALSE) 81 ZEND_ARG_OBJ_INFO(0, lob, OCILob, 0) 82 ZEND_ARG_TYPE_INFO(0, data, IS_STRING, 0) 83 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, length, IS_LONG, 1, "null") 84 ZEND_END_ARG_INFO() 85 86 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_oci_lob_append, 0, 2, _IS_BOOL, 0) 87 ZEND_ARG_OBJ_INFO(0, to, OCILob, 0) 88 ZEND_ARG_OBJ_INFO(0, from, OCILob, 0) 89 ZEND_END_ARG_INFO() 90 91 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_oci_lob_truncate, 0, 1, _IS_BOOL, 0) 92 ZEND_ARG_OBJ_INFO(0, lob, OCILob, 0) 93 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, length, IS_LONG, 0, "0") 94 ZEND_END_ARG_INFO() 95 96 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_oci_lob_erase, 0, 1, MAY_BE_LONG|MAY_BE_FALSE) 97 ZEND_ARG_OBJ_INFO(0, lob, OCILob, 0) 98 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, offset, IS_LONG, 1, "null") 99 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, length, IS_LONG, 1, "null") 100 ZEND_END_ARG_INFO() 101 102 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_oci_lob_flush, 0, 1, _IS_BOOL, 0) 103 ZEND_ARG_OBJ_INFO(0, lob, OCILob, 0) 104 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, flag, IS_LONG, 0, "0") 105 ZEND_END_ARG_INFO() 106 107 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_ocisetbufferinglob, 0, 2, _IS_BOOL, 0) 108 ZEND_ARG_OBJ_INFO(0, lob, OCILob, 0) 109 ZEND_ARG_TYPE_INFO(0, mode, _IS_BOOL, 0) 110 ZEND_END_ARG_INFO() 111 112 #define arginfo_ocigetbufferinglob arginfo_oci_free_descriptor 113 114 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_oci_lob_copy, 0, 2, _IS_BOOL, 0) 115 ZEND_ARG_OBJ_INFO(0, to, OCILob, 0) 116 ZEND_ARG_OBJ_INFO(0, from, OCILob, 0) 117 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, length, IS_LONG, 1, "null") 118 ZEND_END_ARG_INFO() 119 120 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_oci_lob_is_equal, 0, 2, _IS_BOOL, 0) 121 ZEND_ARG_OBJ_INFO(0, lob1, OCILob, 0) 122 ZEND_ARG_OBJ_INFO(0, lob2, OCILob, 0) 123 ZEND_END_ARG_INFO() 124 125 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_oci_lob_export, 0, 2, _IS_BOOL, 0) 126 ZEND_ARG_OBJ_INFO(0, lob, OCILob, 0) 127 ZEND_ARG_TYPE_INFO(0, filename, IS_STRING, 0) 128 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, offset, IS_LONG, 1, "null") 129 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, length, IS_LONG, 1, "null") 130 ZEND_END_ARG_INFO() 131 132 #define arginfo_ociwritelobtofile arginfo_oci_lob_export 133 134 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_oci_new_descriptor, 0, 1, OCILob, 1) 135 ZEND_ARG_INFO(0, connection) 136 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, type, IS_LONG, 0, "OCI_DTYPE_LOB") 137 ZEND_END_ARG_INFO() 138 139 #define arginfo_ocinewdescriptor arginfo_oci_new_descriptor 140 141 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_oci_rollback, 0, 1, _IS_BOOL, 0) 142 ZEND_ARG_INFO(0, connection) 143 ZEND_END_ARG_INFO() 144 145 #define arginfo_ocirollback arginfo_oci_rollback 146 147 #define arginfo_oci_commit arginfo_oci_rollback 148 149 #define arginfo_ocicommit arginfo_oci_rollback 150 151 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_oci_field_name, 0, 2, MAY_BE_STRING|MAY_BE_FALSE) 152 ZEND_ARG_INFO(0, statement) 153 ZEND_ARG_TYPE_MASK(0, column, MAY_BE_STRING|MAY_BE_LONG, NULL) 154 ZEND_END_ARG_INFO() 155 156 #define arginfo_ocicolumnname arginfo_oci_field_name 157 158 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_oci_field_size, 0, 2, MAY_BE_LONG|MAY_BE_FALSE) 159 ZEND_ARG_INFO(0, statement) 160 ZEND_ARG_TYPE_MASK(0, column, MAY_BE_STRING|MAY_BE_LONG, NULL) 161 ZEND_END_ARG_INFO() 162 163 #define arginfo_ocicolumnsize arginfo_oci_field_size 164 165 #define arginfo_oci_field_scale arginfo_oci_field_size 166 167 #define arginfo_ocicolumnscale arginfo_oci_field_size 168 169 #define arginfo_oci_field_precision arginfo_oci_field_size 170 171 #define arginfo_ocicolumnprecision arginfo_oci_field_size 172 173 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_oci_field_type, 0, 2, MAY_BE_STRING|MAY_BE_LONG|MAY_BE_FALSE) 174 ZEND_ARG_INFO(0, statement) 175 ZEND_ARG_TYPE_MASK(0, column, MAY_BE_STRING|MAY_BE_LONG, NULL) 176 ZEND_END_ARG_INFO() 177 178 #define arginfo_ocicolumntype arginfo_oci_field_type 179 180 #define arginfo_oci_field_type_raw arginfo_oci_field_size 181 182 #define arginfo_ocicolumntyperaw arginfo_oci_field_size 183 184 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_oci_field_is_null, 0, 2, _IS_BOOL, 0) 185 ZEND_ARG_INFO(0, statement) 186 ZEND_ARG_TYPE_MASK(0, column, MAY_BE_STRING|MAY_BE_LONG, NULL) 187 ZEND_END_ARG_INFO() 188 189 #define arginfo_ocicolumnisnull arginfo_oci_field_is_null 190 191 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_oci_execute, 0, 1, _IS_BOOL, 0) 192 ZEND_ARG_INFO(0, statement) 193 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, mode, IS_LONG, 0, "OCI_COMMIT_ON_SUCCESS") 194 ZEND_END_ARG_INFO() 195 196 #define arginfo_ociexecute arginfo_oci_execute 197 198 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_oci_cancel, 0, 1, _IS_BOOL, 0) 199 ZEND_ARG_INFO(0, statement) 200 ZEND_END_ARG_INFO() 201 202 #define arginfo_ocicancel arginfo_oci_cancel 203 204 #define arginfo_oci_fetch arginfo_oci_cancel 205 206 #define arginfo_ocifetch arginfo_oci_cancel 207 208 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_ocifetchinto, 0, 2, MAY_BE_LONG|MAY_BE_FALSE) 209 ZEND_ARG_INFO(0, statement) 210 ZEND_ARG_INFO(1, result) 211 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, mode, IS_LONG, 0, "OCI_NUM") 212 ZEND_END_ARG_INFO() 213 214 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_oci_fetch_all, 0, 2, IS_LONG, 0) 215 ZEND_ARG_INFO(0, statement) 216 ZEND_ARG_INFO(1, output) 217 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, offset, IS_LONG, 0, "0") 218 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, limit, IS_LONG, 0, "-1") 219 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, flags, IS_LONG, 0, "OCI_FETCHSTATEMENT_BY_COLUMN | OCI_ASSOC") 220 ZEND_END_ARG_INFO() 221 222 #define arginfo_ocifetchstatement arginfo_oci_fetch_all 223 224 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_TYPE_MASK_EX(arginfo_oci_fetch_object, 0, 1, stdClass, MAY_BE_FALSE) 225 ZEND_ARG_INFO(0, statement) 226 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, mode, IS_LONG, 0, "OCI_ASSOC | OCI_RETURN_NULLS") 227 ZEND_END_ARG_INFO() 228 229 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_oci_fetch_row, 0, 1, MAY_BE_ARRAY|MAY_BE_FALSE) 230 ZEND_ARG_INFO(0, statement) 231 ZEND_END_ARG_INFO() 232 233 #define arginfo_oci_fetch_assoc arginfo_oci_fetch_row 234 235 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_oci_fetch_array, 0, 1, MAY_BE_ARRAY|MAY_BE_FALSE) 236 ZEND_ARG_INFO(0, statement) 237 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, mode, IS_LONG, 0, "OCI_BOTH | OCI_RETURN_NULLS") 238 ZEND_END_ARG_INFO() 239 240 #define arginfo_oci_free_statement arginfo_oci_cancel 241 242 #define arginfo_ocifreestatement arginfo_oci_cancel 243 244 #define arginfo_oci_free_cursor arginfo_oci_cancel 245 246 #define arginfo_ocifreecursor arginfo_oci_cancel 247 248 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_oci_close, 0, 1, _IS_BOOL, 1) 249 ZEND_ARG_INFO(0, connection) 250 ZEND_END_ARG_INFO() 251 252 #define arginfo_ocilogoff arginfo_oci_close 253 254 ZEND_BEGIN_ARG_INFO_EX(arginfo_oci_new_connect, 0, 0, 2) 255 ZEND_ARG_TYPE_INFO(0, username, IS_STRING, 0) 256 ZEND_ARG_TYPE_INFO(0, password, IS_STRING, 0) 257 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, connection_string, IS_STRING, 1, "null") 258 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, encoding, IS_STRING, 0, "\"\"") 259 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, session_mode, IS_LONG, 0, "OCI_DEFAULT") 260 ZEND_END_ARG_INFO() 261 262 #define arginfo_ocinlogon arginfo_oci_new_connect 263 264 #define arginfo_oci_connect arginfo_oci_new_connect 265 266 #define arginfo_ocilogon arginfo_oci_new_connect 267 268 #define arginfo_oci_pconnect arginfo_oci_new_connect 269 270 #define arginfo_ociplogon arginfo_oci_new_connect 271 272 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_oci_error, 0, 0, MAY_BE_ARRAY|MAY_BE_FALSE) 273 ZEND_ARG_INFO_WITH_DEFAULT_VALUE(0, connection_or_statement, "null") 274 ZEND_END_ARG_INFO() 275 276 #define arginfo_ocierror arginfo_oci_error 277 278 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_oci_num_fields, 0, 1, IS_LONG, 0) 279 ZEND_ARG_INFO(0, statement) 280 ZEND_END_ARG_INFO() 281 282 #define arginfo_ocinumcols arginfo_oci_num_fields 283 284 ZEND_BEGIN_ARG_INFO_EX(arginfo_oci_parse, 0, 0, 2) 285 ZEND_ARG_INFO(0, connection) 286 ZEND_ARG_TYPE_INFO(0, sql, IS_STRING, 0) 287 ZEND_END_ARG_INFO() 288 289 #define arginfo_ociparse arginfo_oci_parse 290 291 ZEND_BEGIN_ARG_INFO_EX(arginfo_oci_get_implicit_resultset, 0, 0, 1) 292 ZEND_ARG_INFO(0, statement) 293 ZEND_END_ARG_INFO() 294 295 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_oci_set_prefetch, 0, 2, _IS_BOOL, 0) 296 ZEND_ARG_INFO(0, statement) 297 ZEND_ARG_TYPE_INFO(0, rows, IS_LONG, 0) 298 ZEND_END_ARG_INFO() 299 300 #define arginfo_ocisetprefetch arginfo_oci_set_prefetch 301 302 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_oci_set_client_identifier, 0, 2, _IS_BOOL, 0) 303 ZEND_ARG_INFO(0, connection) 304 ZEND_ARG_TYPE_INFO(0, client_id, IS_STRING, 0) 305 ZEND_END_ARG_INFO() 306 307 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_oci_set_edition, 0, 1, _IS_BOOL, 0) 308 ZEND_ARG_TYPE_INFO(0, edition, IS_STRING, 0) 309 ZEND_END_ARG_INFO() 310 311 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_oci_set_module_name, 0, 2, _IS_BOOL, 0) 312 ZEND_ARG_INFO(0, connection) 313 ZEND_ARG_TYPE_INFO(0, name, IS_STRING, 0) 314 ZEND_END_ARG_INFO() 315 316 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_oci_set_action, 0, 2, _IS_BOOL, 0) 317 ZEND_ARG_INFO(0, connection) 318 ZEND_ARG_TYPE_INFO(0, action, IS_STRING, 0) 319 ZEND_END_ARG_INFO() 320 321 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_oci_set_client_info, 0, 2, _IS_BOOL, 0) 322 ZEND_ARG_INFO(0, connection) 323 ZEND_ARG_TYPE_INFO(0, client_info, IS_STRING, 0) 324 ZEND_END_ARG_INFO() 325 326 #define arginfo_oci_set_db_operation arginfo_oci_set_action 327 328 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_oci_set_call_timeout, 0, 2, _IS_BOOL, 0) 329 ZEND_ARG_INFO(0, connection) 330 ZEND_ARG_TYPE_INFO(0, timeout, IS_LONG, 0) 331 ZEND_END_ARG_INFO() 332 333 ZEND_BEGIN_ARG_INFO_EX(arginfo_oci_password_change, 0, 0, 4) 334 ZEND_ARG_INFO(0, connection) 335 ZEND_ARG_TYPE_INFO(0, username, IS_STRING, 0) 336 ZEND_ARG_TYPE_INFO(0, old_password, IS_STRING, 0) 337 ZEND_ARG_TYPE_INFO(0, new_password, IS_STRING, 0) 338 ZEND_END_ARG_INFO() 339 340 #define arginfo_ocipasswordchange arginfo_oci_password_change 341 342 ZEND_BEGIN_ARG_INFO_EX(arginfo_oci_new_cursor, 0, 0, 1) 343 ZEND_ARG_INFO(0, connection) 344 ZEND_END_ARG_INFO() 345 346 #define arginfo_ocinewcursor arginfo_oci_new_cursor 347 348 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_oci_result, 0, 2, IS_MIXED, 0) 349 ZEND_ARG_INFO(0, statement) 350 ZEND_ARG_TYPE_MASK(0, column, MAY_BE_STRING|MAY_BE_LONG, NULL) 351 ZEND_END_ARG_INFO() 352 353 #define arginfo_ociresult arginfo_oci_result 354 355 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_oci_client_version, 0, 0, IS_STRING, 0) 356 ZEND_END_ARG_INFO() 357 358 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_oci_server_version, 0, 1, MAY_BE_STRING|MAY_BE_FALSE) 359 ZEND_ARG_INFO(0, connection) 360 ZEND_END_ARG_INFO() 361 362 #define arginfo_ociserverversion arginfo_oci_server_version 363 364 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_oci_statement_type, 0, 1, MAY_BE_STRING|MAY_BE_FALSE) 365 ZEND_ARG_INFO(0, statement) 366 ZEND_END_ARG_INFO() 367 368 #define arginfo_ocistatementtype arginfo_oci_statement_type 369 370 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_oci_num_rows, 0, 1, MAY_BE_LONG|MAY_BE_FALSE) 371 ZEND_ARG_INFO(0, statement) 372 ZEND_END_ARG_INFO() 373 374 #define arginfo_ocirowcount arginfo_oci_num_rows 375 376 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_oci_free_collection, 0, 1, _IS_BOOL, 0) 377 ZEND_ARG_OBJ_INFO(0, collection, OCICollection, 0) 378 ZEND_END_ARG_INFO() 379 380 #define arginfo_ocifreecollection arginfo_oci_free_collection 381 382 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_oci_collection_append, 0, 2, _IS_BOOL, 0) 383 ZEND_ARG_OBJ_INFO(0, collection, OCICollection, 0) 384 ZEND_ARG_TYPE_INFO(0, value, IS_STRING, 0) 385 ZEND_END_ARG_INFO() 386 387 #define arginfo_ocicollappend arginfo_oci_collection_append 388 389 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_oci_collection_element_get, 0, 2, MAY_BE_STRING|MAY_BE_DOUBLE|MAY_BE_NULL|MAY_BE_FALSE) 390 ZEND_ARG_OBJ_INFO(0, collection, OCICollection, 0) 391 ZEND_ARG_TYPE_INFO(0, index, IS_LONG, 0) 392 ZEND_END_ARG_INFO() 393 394 #define arginfo_ocicollgetelem arginfo_oci_collection_element_get 395 396 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_oci_collection_assign, 0, 2, _IS_BOOL, 0) 397 ZEND_ARG_OBJ_INFO(0, to, OCICollection, 0) 398 ZEND_ARG_OBJ_INFO(0, from, OCICollection, 0) 399 ZEND_END_ARG_INFO() 400 401 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_oci_collection_element_assign, 0, 3, _IS_BOOL, 0) 402 ZEND_ARG_OBJ_INFO(0, collection, OCICollection, 0) 403 ZEND_ARG_TYPE_INFO(0, index, IS_LONG, 0) 404 ZEND_ARG_TYPE_INFO(0, value, IS_STRING, 0) 405 ZEND_END_ARG_INFO() 406 407 #define arginfo_ocicollassignelem arginfo_oci_collection_element_assign 408 409 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_oci_collection_size, 0, 1, MAY_BE_LONG|MAY_BE_FALSE) 410 ZEND_ARG_OBJ_INFO(0, collection, OCICollection, 0) 411 ZEND_END_ARG_INFO() 412 413 #define arginfo_ocicollsize arginfo_oci_collection_size 414 415 #define arginfo_oci_collection_max arginfo_oci_collection_size 416 417 #define arginfo_ocicollmax arginfo_oci_collection_size 418 419 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_oci_collection_trim, 0, 2, _IS_BOOL, 0) 420 ZEND_ARG_OBJ_INFO(0, collection, OCICollection, 0) 421 ZEND_ARG_TYPE_INFO(0, num, IS_LONG, 0) 422 ZEND_END_ARG_INFO() 423 424 #define arginfo_ocicolltrim arginfo_oci_collection_trim 425 426 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_TYPE_MASK_EX(arginfo_oci_new_collection, 0, 2, OCICollection, MAY_BE_FALSE) 427 ZEND_ARG_INFO(0, connection) 428 ZEND_ARG_TYPE_INFO(0, type_name, IS_STRING, 0) 429 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, schema, IS_STRING, 1, "null") 430 ZEND_END_ARG_INFO() 431 432 #define arginfo_ocinewcollection arginfo_oci_new_collection 433 434 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_oci_register_taf_callback, 0, 2, _IS_BOOL, 0) 435 ZEND_ARG_INFO(0, connection) 436 ZEND_ARG_TYPE_INFO(0, callback, IS_CALLABLE, 1) 437 ZEND_END_ARG_INFO() 438 439 #define arginfo_oci_unregister_taf_callback arginfo_oci_rollback 440 441 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_OCILob_save, 0, 0, 1) 442 ZEND_ARG_TYPE_INFO(0, data, IS_STRING, 0) 443 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, offset, IS_LONG, 0, "0") 444 ZEND_END_ARG_INFO() 445 446 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_OCILob_import, 0, 0, 1) 447 ZEND_ARG_TYPE_INFO(0, filename, IS_STRING, 0) 448 ZEND_END_ARG_INFO() 449 450 #define arginfo_class_OCILob_saveFile arginfo_class_OCILob_import 451 452 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_OCILob_load, 0, 0, 0) 453 ZEND_END_ARG_INFO() 454 455 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_OCILob_read, 0, 0, 1) 456 ZEND_ARG_TYPE_INFO(0, length, IS_LONG, 0) 457 ZEND_END_ARG_INFO() 458 459 #define arginfo_class_OCILob_eof arginfo_class_OCILob_load 460 461 #define arginfo_class_OCILob_tell arginfo_class_OCILob_load 462 463 #define arginfo_class_OCILob_rewind arginfo_class_OCILob_load 464 465 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_OCILob_seek, 0, 0, 1) 466 ZEND_ARG_TYPE_INFO(0, offset, IS_LONG, 0) 467 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, whence, IS_LONG, 0, "OCI_SEEK_SET") 468 ZEND_END_ARG_INFO() 469 470 #define arginfo_class_OCILob_size arginfo_class_OCILob_load 471 472 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_OCILob_write, 0, 0, 1) 473 ZEND_ARG_TYPE_INFO(0, data, IS_STRING, 0) 474 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, length, IS_LONG, 1, "null") 475 ZEND_END_ARG_INFO() 476 477 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_OCILob_append, 0, 0, 1) 478 ZEND_ARG_OBJ_INFO(0, from, OCILob, 0) 479 ZEND_END_ARG_INFO() 480 481 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_OCILob_truncate, 0, 0, 0) 482 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, length, IS_LONG, 0, "0") 483 ZEND_END_ARG_INFO() 484 485 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_OCILob_erase, 0, 0, 0) 486 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, offset, IS_LONG, 1, "null") 487 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, length, IS_LONG, 1, "null") 488 ZEND_END_ARG_INFO() 489 490 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_OCILob_flush, 0, 0, _IS_BOOL, 0) 491 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, flag, IS_LONG, 0, "0") 492 ZEND_END_ARG_INFO() 493 494 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_OCILob_setBuffering, 0, 0, 1) 495 ZEND_ARG_TYPE_INFO(0, mode, _IS_BOOL, 0) 496 ZEND_END_ARG_INFO() 497 498 #define arginfo_class_OCILob_getBuffering arginfo_class_OCILob_load 499 500 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_OCILob_writeToFile, 0, 0, 1) 501 ZEND_ARG_TYPE_INFO(0, filename, IS_STRING, 0) 502 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, offset, IS_LONG, 1, "null") 503 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, length, IS_LONG, 1, "null") 504 ZEND_END_ARG_INFO() 505 506 #define arginfo_class_OCILob_export arginfo_class_OCILob_writeToFile 507 508 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_OCILob_writeTemporary, 0, 0, 1) 509 ZEND_ARG_TYPE_INFO(0, data, IS_STRING, 0) 510 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, type, IS_LONG, 0, "OCI_TEMP_CLOB") 511 ZEND_END_ARG_INFO() 512 513 #define arginfo_class_OCILob_close arginfo_class_OCILob_load 514 515 #define arginfo_class_OCILob_free arginfo_class_OCILob_load 516 517 #define arginfo_class_OCICollection_free arginfo_class_OCILob_load 518 519 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_OCICollection_append, 0, 0, 1) 520 ZEND_ARG_TYPE_INFO(0, value, IS_STRING, 0) 521 ZEND_END_ARG_INFO() 522 523 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_OCICollection_getElem, 0, 0, 1) 524 ZEND_ARG_TYPE_INFO(0, index, IS_LONG, 0) 525 ZEND_END_ARG_INFO() 526 527 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_OCICollection_assign, 0, 0, 1) 528 ZEND_ARG_OBJ_INFO(0, from, OCICollection, 0) 529 ZEND_END_ARG_INFO() 530 531 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_OCICollection_assignElem, 0, 0, 2) 532 ZEND_ARG_TYPE_INFO(0, index, IS_LONG, 0) 533 ZEND_ARG_TYPE_INFO(0, value, IS_STRING, 0) 534 ZEND_END_ARG_INFO() 535 536 #define arginfo_class_OCICollection_size arginfo_class_OCILob_load 537 538 #define arginfo_class_OCICollection_max arginfo_class_OCILob_load 539 540 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_OCICollection_trim, 0, 0, 1) 541 ZEND_ARG_TYPE_INFO(0, num, IS_LONG, 0) 542 ZEND_END_ARG_INFO() 543 544 545 ZEND_FUNCTION(oci_define_by_name); 546 ZEND_FUNCTION(oci_bind_by_name); 547 ZEND_FUNCTION(oci_bind_array_by_name); 548 ZEND_FUNCTION(oci_free_descriptor); 549 ZEND_FUNCTION(oci_lob_save); 550 ZEND_FUNCTION(oci_lob_import); 551 ZEND_FUNCTION(oci_lob_load); 552 ZEND_FUNCTION(oci_lob_read); 553 ZEND_FUNCTION(oci_lob_eof); 554 ZEND_FUNCTION(oci_lob_tell); 555 ZEND_FUNCTION(oci_lob_rewind); 556 ZEND_FUNCTION(oci_lob_seek); 557 ZEND_FUNCTION(oci_lob_size); 558 ZEND_FUNCTION(oci_lob_write); 559 ZEND_FUNCTION(oci_lob_append); 560 ZEND_FUNCTION(oci_lob_truncate); 561 ZEND_FUNCTION(oci_lob_erase); 562 ZEND_FUNCTION(oci_lob_flush); 563 ZEND_FUNCTION(ocisetbufferinglob); 564 ZEND_FUNCTION(ocigetbufferinglob); 565 ZEND_FUNCTION(oci_lob_copy); 566 ZEND_FUNCTION(oci_lob_is_equal); 567 ZEND_FUNCTION(oci_lob_export); 568 ZEND_FUNCTION(oci_new_descriptor); 569 ZEND_FUNCTION(oci_rollback); 570 ZEND_FUNCTION(oci_commit); 571 ZEND_FUNCTION(oci_field_name); 572 ZEND_FUNCTION(oci_field_size); 573 ZEND_FUNCTION(oci_field_scale); 574 ZEND_FUNCTION(oci_field_precision); 575 ZEND_FUNCTION(oci_field_type); 576 ZEND_FUNCTION(oci_field_type_raw); 577 ZEND_FUNCTION(oci_field_is_null); 578 ZEND_FUNCTION(oci_execute); 579 ZEND_FUNCTION(oci_cancel); 580 ZEND_FUNCTION(oci_fetch); 581 ZEND_FUNCTION(ocifetchinto); 582 ZEND_FUNCTION(oci_fetch_all); 583 ZEND_FUNCTION(oci_fetch_object); 584 ZEND_FUNCTION(oci_fetch_row); 585 ZEND_FUNCTION(oci_fetch_assoc); 586 ZEND_FUNCTION(oci_fetch_array); 587 ZEND_FUNCTION(oci_free_statement); 588 ZEND_FUNCTION(oci_close); 589 ZEND_FUNCTION(oci_new_connect); 590 ZEND_FUNCTION(oci_connect); 591 ZEND_FUNCTION(oci_pconnect); 592 ZEND_FUNCTION(oci_error); 593 ZEND_FUNCTION(oci_num_fields); 594 ZEND_FUNCTION(oci_parse); 595 ZEND_FUNCTION(oci_get_implicit_resultset); 596 ZEND_FUNCTION(oci_set_prefetch); 597 ZEND_FUNCTION(oci_set_client_identifier); 598 ZEND_FUNCTION(oci_set_edition); 599 ZEND_FUNCTION(oci_set_module_name); 600 ZEND_FUNCTION(oci_set_action); 601 ZEND_FUNCTION(oci_set_client_info); 602 ZEND_FUNCTION(oci_set_db_operation); 603 ZEND_FUNCTION(oci_set_call_timeout); 604 ZEND_FUNCTION(oci_password_change); 605 ZEND_FUNCTION(oci_new_cursor); 606 ZEND_FUNCTION(oci_result); 607 ZEND_FUNCTION(oci_client_version); 608 ZEND_FUNCTION(oci_server_version); 609 ZEND_FUNCTION(oci_statement_type); 610 ZEND_FUNCTION(oci_num_rows); 611 ZEND_FUNCTION(oci_free_collection); 612 ZEND_FUNCTION(oci_collection_append); 613 ZEND_FUNCTION(oci_collection_element_get); 614 ZEND_FUNCTION(oci_collection_assign); 615 ZEND_FUNCTION(oci_collection_element_assign); 616 ZEND_FUNCTION(oci_collection_size); 617 ZEND_FUNCTION(oci_collection_max); 618 ZEND_FUNCTION(oci_collection_trim); 619 ZEND_FUNCTION(oci_new_collection); 620 ZEND_FUNCTION(oci_register_taf_callback); 621 ZEND_FUNCTION(oci_unregister_taf_callback); 622 ZEND_METHOD(OCILob, writeTemporary); 623 ZEND_METHOD(OCILob, close); 624 625 626 static const zend_function_entry ext_functions[] = { 627 ZEND_FE(oci_define_by_name, arginfo_oci_define_by_name) 628 ZEND_DEP_FALIAS(ocidefinebyname, oci_define_by_name, arginfo_ocidefinebyname) 629 ZEND_FE(oci_bind_by_name, arginfo_oci_bind_by_name) 630 ZEND_DEP_FALIAS(ocibindbyname, oci_bind_by_name, arginfo_ocibindbyname) 631 ZEND_FE(oci_bind_array_by_name, arginfo_oci_bind_array_by_name) 632 ZEND_FE(oci_free_descriptor, arginfo_oci_free_descriptor) 633 ZEND_DEP_FALIAS(ocifreedesc, oci_free_descriptor, arginfo_ocifreedesc) 634 ZEND_FE(oci_lob_save, arginfo_oci_lob_save) 635 ZEND_DEP_FALIAS(ocisavelob, oci_lob_save, arginfo_ocisavelob) 636 ZEND_FE(oci_lob_import, arginfo_oci_lob_import) 637 ZEND_DEP_FALIAS(ocisavelobfile, oci_lob_import, arginfo_ocisavelobfile) 638 ZEND_FE(oci_lob_load, arginfo_oci_lob_load) 639 ZEND_DEP_FALIAS(ociloadlob, oci_lob_load, arginfo_ociloadlob) 640 ZEND_FE(oci_lob_read, arginfo_oci_lob_read) 641 ZEND_FE(oci_lob_eof, arginfo_oci_lob_eof) 642 ZEND_FE(oci_lob_tell, arginfo_oci_lob_tell) 643 ZEND_FE(oci_lob_rewind, arginfo_oci_lob_rewind) 644 ZEND_FE(oci_lob_seek, arginfo_oci_lob_seek) 645 ZEND_FE(oci_lob_size, arginfo_oci_lob_size) 646 ZEND_FE(oci_lob_write, arginfo_oci_lob_write) 647 ZEND_FE(oci_lob_append, arginfo_oci_lob_append) 648 ZEND_FE(oci_lob_truncate, arginfo_oci_lob_truncate) 649 ZEND_FE(oci_lob_erase, arginfo_oci_lob_erase) 650 ZEND_FE(oci_lob_flush, arginfo_oci_lob_flush) 651 ZEND_FE(ocisetbufferinglob, arginfo_ocisetbufferinglob) 652 ZEND_FE(ocigetbufferinglob, arginfo_ocigetbufferinglob) 653 ZEND_FE(oci_lob_copy, arginfo_oci_lob_copy) 654 ZEND_FE(oci_lob_is_equal, arginfo_oci_lob_is_equal) 655 ZEND_FE(oci_lob_export, arginfo_oci_lob_export) 656 ZEND_DEP_FALIAS(ociwritelobtofile, oci_lob_export, arginfo_ociwritelobtofile) 657 ZEND_FE(oci_new_descriptor, arginfo_oci_new_descriptor) 658 ZEND_DEP_FALIAS(ocinewdescriptor, oci_new_descriptor, arginfo_ocinewdescriptor) 659 ZEND_FE(oci_rollback, arginfo_oci_rollback) 660 ZEND_DEP_FALIAS(ocirollback, oci_rollback, arginfo_ocirollback) 661 ZEND_FE(oci_commit, arginfo_oci_commit) 662 ZEND_DEP_FALIAS(ocicommit, oci_commit, arginfo_ocicommit) 663 ZEND_FE(oci_field_name, arginfo_oci_field_name) 664 ZEND_DEP_FALIAS(ocicolumnname, oci_field_name, arginfo_ocicolumnname) 665 ZEND_FE(oci_field_size, arginfo_oci_field_size) 666 ZEND_DEP_FALIAS(ocicolumnsize, oci_field_size, arginfo_ocicolumnsize) 667 ZEND_FE(oci_field_scale, arginfo_oci_field_scale) 668 ZEND_DEP_FALIAS(ocicolumnscale, oci_field_scale, arginfo_ocicolumnscale) 669 ZEND_FE(oci_field_precision, arginfo_oci_field_precision) 670 ZEND_DEP_FALIAS(ocicolumnprecision, oci_field_precision, arginfo_ocicolumnprecision) 671 ZEND_FE(oci_field_type, arginfo_oci_field_type) 672 ZEND_DEP_FALIAS(ocicolumntype, oci_field_type, arginfo_ocicolumntype) 673 ZEND_FE(oci_field_type_raw, arginfo_oci_field_type_raw) 674 ZEND_DEP_FALIAS(ocicolumntyperaw, oci_field_type_raw, arginfo_ocicolumntyperaw) 675 ZEND_FE(oci_field_is_null, arginfo_oci_field_is_null) 676 ZEND_DEP_FALIAS(ocicolumnisnull, oci_field_is_null, arginfo_ocicolumnisnull) 677 ZEND_FE(oci_execute, arginfo_oci_execute) 678 ZEND_DEP_FALIAS(ociexecute, oci_execute, arginfo_ociexecute) 679 ZEND_FE(oci_cancel, arginfo_oci_cancel) 680 ZEND_DEP_FALIAS(ocicancel, oci_cancel, arginfo_ocicancel) 681 ZEND_FE(oci_fetch, arginfo_oci_fetch) 682 ZEND_DEP_FALIAS(ocifetch, oci_fetch, arginfo_ocifetch) 683 ZEND_DEP_FE(ocifetchinto, arginfo_ocifetchinto) 684 ZEND_FE(oci_fetch_all, arginfo_oci_fetch_all) 685 ZEND_DEP_FALIAS(ocifetchstatement, oci_fetch_all, arginfo_ocifetchstatement) 686 ZEND_FE(oci_fetch_object, arginfo_oci_fetch_object) 687 ZEND_FE(oci_fetch_row, arginfo_oci_fetch_row) 688 ZEND_FE(oci_fetch_assoc, arginfo_oci_fetch_assoc) 689 ZEND_FE(oci_fetch_array, arginfo_oci_fetch_array) 690 ZEND_FE(oci_free_statement, arginfo_oci_free_statement) 691 ZEND_DEP_FALIAS(ocifreestatement, oci_free_statement, arginfo_ocifreestatement) 692 ZEND_FALIAS(oci_free_cursor, oci_free_statement, arginfo_oci_free_cursor) 693 ZEND_DEP_FALIAS(ocifreecursor, oci_free_statement, arginfo_ocifreecursor) 694 ZEND_FE(oci_close, arginfo_oci_close) 695 ZEND_DEP_FALIAS(ocilogoff, oci_close, arginfo_ocilogoff) 696 ZEND_FE(oci_new_connect, arginfo_oci_new_connect) 697 ZEND_DEP_FALIAS(ocinlogon, oci_new_connect, arginfo_ocinlogon) 698 ZEND_FE(oci_connect, arginfo_oci_connect) 699 ZEND_DEP_FALIAS(ocilogon, oci_connect, arginfo_ocilogon) 700 ZEND_FE(oci_pconnect, arginfo_oci_pconnect) 701 ZEND_DEP_FALIAS(ociplogon, oci_pconnect, arginfo_ociplogon) 702 ZEND_FE(oci_error, arginfo_oci_error) 703 ZEND_DEP_FALIAS(ocierror, oci_error, arginfo_ocierror) 704 ZEND_FE(oci_num_fields, arginfo_oci_num_fields) 705 ZEND_DEP_FALIAS(ocinumcols, oci_num_fields, arginfo_ocinumcols) 706 ZEND_FE(oci_parse, arginfo_oci_parse) 707 ZEND_DEP_FALIAS(ociparse, oci_parse, arginfo_ociparse) 708 ZEND_FE(oci_get_implicit_resultset, arginfo_oci_get_implicit_resultset) 709 ZEND_FE(oci_set_prefetch, arginfo_oci_set_prefetch) 710 ZEND_DEP_FALIAS(ocisetprefetch, oci_set_prefetch, arginfo_ocisetprefetch) 711 ZEND_FE(oci_set_client_identifier, arginfo_oci_set_client_identifier) 712 ZEND_FE(oci_set_edition, arginfo_oci_set_edition) 713 ZEND_FE(oci_set_module_name, arginfo_oci_set_module_name) 714 ZEND_FE(oci_set_action, arginfo_oci_set_action) 715 ZEND_FE(oci_set_client_info, arginfo_oci_set_client_info) 716 ZEND_FE(oci_set_db_operation, arginfo_oci_set_db_operation) 717 ZEND_FE(oci_set_call_timeout, arginfo_oci_set_call_timeout) 718 ZEND_FE(oci_password_change, arginfo_oci_password_change) 719 ZEND_DEP_FALIAS(ocipasswordchange, oci_password_change, arginfo_ocipasswordchange) 720 ZEND_FE(oci_new_cursor, arginfo_oci_new_cursor) 721 ZEND_DEP_FALIAS(ocinewcursor, oci_new_cursor, arginfo_ocinewcursor) 722 ZEND_FE(oci_result, arginfo_oci_result) 723 ZEND_DEP_FALIAS(ociresult, oci_result, arginfo_ociresult) 724 ZEND_FE(oci_client_version, arginfo_oci_client_version) 725 ZEND_FE(oci_server_version, arginfo_oci_server_version) 726 ZEND_DEP_FALIAS(ociserverversion, oci_server_version, arginfo_ociserverversion) 727 ZEND_FE(oci_statement_type, arginfo_oci_statement_type) 728 ZEND_DEP_FALIAS(ocistatementtype, oci_statement_type, arginfo_ocistatementtype) 729 ZEND_FE(oci_num_rows, arginfo_oci_num_rows) 730 ZEND_DEP_FALIAS(ocirowcount, oci_num_rows, arginfo_ocirowcount) 731 ZEND_FE(oci_free_collection, arginfo_oci_free_collection) 732 ZEND_DEP_FALIAS(ocifreecollection, oci_free_collection, arginfo_ocifreecollection) 733 ZEND_FE(oci_collection_append, arginfo_oci_collection_append) 734 ZEND_DEP_FALIAS(ocicollappend, oci_collection_append, arginfo_ocicollappend) 735 ZEND_FE(oci_collection_element_get, arginfo_oci_collection_element_get) 736 ZEND_DEP_FALIAS(ocicollgetelem, oci_collection_element_get, arginfo_ocicollgetelem) 737 ZEND_FE(oci_collection_assign, arginfo_oci_collection_assign) 738 ZEND_FE(oci_collection_element_assign, arginfo_oci_collection_element_assign) 739 ZEND_DEP_FALIAS(ocicollassignelem, oci_collection_element_assign, arginfo_ocicollassignelem) 740 ZEND_FE(oci_collection_size, arginfo_oci_collection_size) 741 ZEND_DEP_FALIAS(ocicollsize, oci_collection_size, arginfo_ocicollsize) 742 ZEND_FE(oci_collection_max, arginfo_oci_collection_max) 743 ZEND_DEP_FALIAS(ocicollmax, oci_collection_max, arginfo_ocicollmax) 744 ZEND_FE(oci_collection_trim, arginfo_oci_collection_trim) 745 ZEND_DEP_FALIAS(ocicolltrim, oci_collection_trim, arginfo_ocicolltrim) 746 ZEND_FE(oci_new_collection, arginfo_oci_new_collection) 747 ZEND_DEP_FALIAS(ocinewcollection, oci_new_collection, arginfo_ocinewcollection) 748 ZEND_FE(oci_register_taf_callback, arginfo_oci_register_taf_callback) 749 ZEND_FE(oci_unregister_taf_callback, arginfo_oci_unregister_taf_callback) 750 ZEND_FE_END 751 }; 752 753 754 static const zend_function_entry class_OCILob_methods[] = { 755 ZEND_ME_MAPPING(save, oci_lob_save, arginfo_class_OCILob_save, ZEND_ACC_PUBLIC) 756 ZEND_ME_MAPPING(import, oci_lob_import, arginfo_class_OCILob_import, ZEND_ACC_PUBLIC) 757 ZEND_ME_MAPPING(saveFile, oci_lob_import, arginfo_class_OCILob_saveFile, ZEND_ACC_PUBLIC) 758 ZEND_ME_MAPPING(load, oci_lob_load, arginfo_class_OCILob_load, ZEND_ACC_PUBLIC) 759 ZEND_ME_MAPPING(read, oci_lob_read, arginfo_class_OCILob_read, ZEND_ACC_PUBLIC) 760 ZEND_ME_MAPPING(eof, oci_lob_eof, arginfo_class_OCILob_eof, ZEND_ACC_PUBLIC) 761 ZEND_ME_MAPPING(tell, oci_lob_tell, arginfo_class_OCILob_tell, ZEND_ACC_PUBLIC) 762 ZEND_ME_MAPPING(rewind, oci_lob_rewind, arginfo_class_OCILob_rewind, ZEND_ACC_PUBLIC) 763 ZEND_ME_MAPPING(seek, oci_lob_seek, arginfo_class_OCILob_seek, ZEND_ACC_PUBLIC) 764 ZEND_ME_MAPPING(size, oci_lob_size, arginfo_class_OCILob_size, ZEND_ACC_PUBLIC) 765 ZEND_ME_MAPPING(write, oci_lob_write, arginfo_class_OCILob_write, ZEND_ACC_PUBLIC) 766 ZEND_ME_MAPPING(append, oci_lob_append, arginfo_class_OCILob_append, ZEND_ACC_PUBLIC) 767 ZEND_ME_MAPPING(truncate, oci_lob_truncate, arginfo_class_OCILob_truncate, ZEND_ACC_PUBLIC) 768 ZEND_ME_MAPPING(erase, oci_lob_erase, arginfo_class_OCILob_erase, ZEND_ACC_PUBLIC) 769 ZEND_ME_MAPPING(flush, oci_lob_flush, arginfo_class_OCILob_flush, ZEND_ACC_PUBLIC) 770 ZEND_ME_MAPPING(setBuffering, ocisetbufferinglob, arginfo_class_OCILob_setBuffering, ZEND_ACC_PUBLIC) 771 ZEND_ME_MAPPING(getBuffering, ocigetbufferinglob, arginfo_class_OCILob_getBuffering, ZEND_ACC_PUBLIC) 772 ZEND_ME_MAPPING(writeToFile, oci_lob_export, arginfo_class_OCILob_writeToFile, ZEND_ACC_PUBLIC) 773 ZEND_ME_MAPPING(export, oci_lob_export, arginfo_class_OCILob_export, ZEND_ACC_PUBLIC) 774 ZEND_ME(OCILob, writeTemporary, arginfo_class_OCILob_writeTemporary, ZEND_ACC_PUBLIC) 775 ZEND_ME(OCILob, close, arginfo_class_OCILob_close, ZEND_ACC_PUBLIC) 776 ZEND_ME_MAPPING(free, oci_free_descriptor, arginfo_class_OCILob_free, ZEND_ACC_PUBLIC) 777 ZEND_FE_END 778 }; 779 780 781 static const zend_function_entry class_OCICollection_methods[] = { 782 ZEND_ME_MAPPING(free, oci_free_collection, arginfo_class_OCICollection_free, ZEND_ACC_PUBLIC) 783 ZEND_ME_MAPPING(append, oci_collection_append, arginfo_class_OCICollection_append, ZEND_ACC_PUBLIC) 784 ZEND_ME_MAPPING(getElem, oci_collection_element_get, arginfo_class_OCICollection_getElem, ZEND_ACC_PUBLIC) 785 ZEND_ME_MAPPING(assign, oci_collection_assign, arginfo_class_OCICollection_assign, ZEND_ACC_PUBLIC) 786 ZEND_ME_MAPPING(assignElem, oci_collection_element_assign, arginfo_class_OCICollection_assignElem, ZEND_ACC_PUBLIC) 787 ZEND_ME_MAPPING(size, oci_collection_size, arginfo_class_OCICollection_size, ZEND_ACC_PUBLIC) 788 ZEND_ME_MAPPING(max, oci_collection_max, arginfo_class_OCICollection_max, ZEND_ACC_PUBLIC) 789 ZEND_ME_MAPPING(trim, oci_collection_trim, arginfo_class_OCICollection_trim, ZEND_ACC_PUBLIC) 790 ZEND_FE_END 791 }; 792