31#if defined(HAVE_SQLDATASOURCES)
38#define arginfo_odbc_exec arginfo_odbc_prepare
40#define arginfo_odbc_do arginfo_odbc_prepare
42#if defined(PHP_ODBC_HAVE_FETCH_HASH)
86#define arginfo_odbc_pconnect arginfo_odbc_connect
96#if !defined(HAVE_SOLID) && !defined(HAVE_SOLID_30)
102#define arginfo_odbc_num_fields arginfo_odbc_num_rows
109#define arginfo_odbc_field_type arginfo_odbc_field_name
116#define arginfo_odbc_field_precision arginfo_odbc_field_len
118#define arginfo_odbc_field_scale arginfo_odbc_field_len
134#define arginfo_odbc_rollback arginfo_odbc_commit
140#define arginfo_odbc_errormsg arginfo_odbc_error
177#if !defined(HAVE_SOLID) && !defined(HAVE_SOLID_30) && !defined(HAVE_SOLID_35)
223#if !defined(HAVE_DBMAKER) && !defined(HAVE_SOLID) && !defined(HAVE_SOLID_30) &&!defined(HAVE_SOLID_35)
244#define arginfo_odbc_connection_string_should_quote arginfo_odbc_connection_string_is_quoted
256#if defined(HAVE_SQLDATASOURCES)
260#if defined(PHP_ODBC_HAVE_FETCH_HASH)
273#if !defined(HAVE_SOLID) && !defined(HAVE_SOLID_30)
292#if !defined(HAVE_SOLID) && !defined(HAVE_SOLID_30) && !defined(HAVE_SOLID_35)
299#if !defined(HAVE_DBMAKER) && !defined(HAVE_SOLID) && !defined(HAVE_SOLID_30) &&!defined(HAVE_SOLID_35)
314#if defined(HAVE_SQLDATASOURCES)
319#if defined(PHP_ODBC_HAVE_FETCH_HASH)
332#if !defined(HAVE_SOLID) && !defined(HAVE_SOLID_30)
352#if !defined(HAVE_SOLID) && !defined(HAVE_SOLID_30) && !defined(HAVE_SOLID_35)
359#if !defined(HAVE_DBMAKER) && !defined(HAVE_SOLID) && !defined(HAVE_SOLID_30) &&!defined(HAVE_SOLID_35)
369static void register_odbc_symbols(
int module_number)
411#if (defined(ODBCVER) && (ODBCVER >= 0x0300))
414#if (defined(ODBCVER) && (ODBCVER >= 0x0300))
417#if (defined(ODBCVER) && (ODBCVER >= 0x0300))
420#if (defined(ODBCVER) && (ODBCVER >= 0x0300))
423#if (defined(ODBCVER) && (ODBCVER >= 0x0300))
426#if (defined(ODBCVER) && (ODBCVER >= 0x0300))
429#if (defined(ODBCVER) && (ODBCVER >= 0x0300))
432#if (defined(ODBCVER) && (ODBCVER >= 0x0300))
435#if (defined(ODBCVER) && (ODBCVER >= 0x0300))
438#if (defined(ODBCVER) && (ODBCVER >= 0x0300))
441#if (defined(ODBCVER) && (ODBCVER >= 0x0300))
444#if (defined(ODBCVER) && (ODBCVER >= 0x0300))
447#if (defined(ODBCVER) && (ODBCVER >= 0x0300))
450#if (defined(ODBCVER) && (ODBCVER >= 0x0300))
453#if (defined(ODBCVER) && (ODBCVER >= 0x0300))
456#if (defined(ODBCVER) && (ODBCVER >= 0x0300))
459#if (defined(ODBCVER) && (ODBCVER >= 0x0300))
464 zend_attribute *attribute_Deprecated_func_odbc_result_all_0 = zend_add_function_attribute(zend_hash_str_find_ptr(
CG(function_table),
"odbc_result_all",
sizeof(
"odbc_result_all") - 1),
ZSTR_KNOWN(ZEND_STR_DEPRECATED_CAPITALIZED), 1);
465 zval attribute_Deprecated_func_odbc_result_all_0_arg0;
466 zend_string *attribute_Deprecated_func_odbc_result_all_0_arg0_str = zend_string_init(
"8.1",
strlen(
"8.1"), 1);
467 ZVAL_STR(&attribute_Deprecated_func_odbc_result_all_0_arg0, attribute_Deprecated_func_odbc_result_all_0_arg0_str);
468 ZVAL_COPY_VALUE(&attribute_Deprecated_func_odbc_result_all_0->
args[0].
value, &attribute_Deprecated_func_odbc_result_all_0_arg0);
469 attribute_Deprecated_func_odbc_result_all_0->
args[0].
name =
ZSTR_KNOWN(ZEND_STR_SINCE);
471 zend_add_parameter_attribute(zend_hash_str_find_ptr(
CG(function_table),
"odbc_connect",
sizeof(
"odbc_connect") - 1), 2,
ZSTR_KNOWN(ZEND_STR_SENSITIVEPARAMETER), 0);
473 zend_add_parameter_attribute(zend_hash_str_find_ptr(
CG(function_table),
"odbc_pconnect",
sizeof(
"odbc_pconnect") - 1), 2,
ZSTR_KNOWN(ZEND_STR_SENSITIVEPARAMETER), 0);
odbc_longreadlen(Odbc\Result $statement, int $length)
odbc_field_len(Odbc\Result $statement, int $field)
odbc_foreignkeys(Odbc\Connection $odbc, ?string $pk_catalog, string $pk_schema, string $pk_table, string $fk_catalog, string $fk_schema, string $fk_table)
odbc_error(?Odbc\Connection $odbc=null)
odbc_specialcolumns(Odbc\Connection $odbc, int $type, ?string $catalog, string $schema, string $table, int $scope, int $nullable)
odbc_gettypeinfo(Odbc\Connection $odbc, int $data_type=0)
odbc_free_result(Odbc\Result $statement)
odbc_commit(Odbc\Connection $odbc)
odbc_connection_string_is_quoted(string $str)
odbc_connection_string_should_quote(string $str)
const SQL_CURSOR_KEYSET_DRIVEN
odbc_data_source(Odbc\Connection $odbc, int $fetch_type)
const SQL_CUR_USE_IF_NEEDED
odbc_rollback(Odbc\Connection $odbc)
odbc_setoption(Odbc\Connection|Odbc\Result $odbc, int $which, int $option, int $value)
odbc_field_scale(Odbc\Result $statement, int $field)
odbc_pconnect(string $dsn, ?string $user=null, #[\SensitiveParameter] ?string $password=null, int $cursor_option=SQL_CUR_USE_DRIVER)
odbc_autocommit(Odbc\Connection $odbc, ?bool $enable=null)
odbc_field_type(Odbc\Result $statement, int $field)
odbc_tableprivileges(Odbc\Connection $odbc, ?string $catalog, string $schema, string $table)
odbc_connect(string $dsn, ?string $user=null, #[\SensitiveParameter] ?string $password=null, int $cursor_option=SQL_CUR_USE_DRIVER)
odbc_columnprivileges(Odbc\Connection $odbc, ?string $catalog, string $schema, string $table, string $column)
odbc_num_fields(Odbc\Result $statement)
odbc_fetch_object(Odbc\Result $statement, ?int $row=null)
odbc_close(Odbc\Connection $odbc)
odbc_procedures(Odbc\Connection $odbc, ?string $catalog=null, ?string $schema=null, ?string $procedure=null)
odbc_procedurecolumns(Odbc\Connection $odbc, ?string $catalog=null, ?string $schema=null, ?string $procedure=null, ?string $column=null)
const SQL_CONCUR_READ_ONLY
odbc_fetch_into(Odbc\Result $statement, &$array, ?int $row=null)
odbc_result(Odbc\Result $statement, string|int $field)
odbc_result_all(Odbc\Result $statement, string $format="")
odbc_num_rows(Odbc\Result $statement)
odbc_statistics(Odbc\Connection $odbc, ?string $catalog, string $schema, string $table, int $unique, int $accuracy)
odbc_fetch_array(Odbc\Result $statement, ?int $row=null)
odbc_connection_string_quote(string $str)
odbc_columns(Odbc\Connection $odbc, ?string $catalog=null, ?string $schema=null, ?string $table=null, ?string $column=null)
odbc_field_name(Odbc\Result $statement, int $field)
odbc_tables(Odbc\Connection $odbc, ?string $catalog=null, ?string $schema=null, ?string $table=null, ?string $types=null)
odbc_execute(Odbc\Result $statement, array $params=[])
const SQL_CURSOR_FORWARD_ONLY
odbc_cursor(Odbc\Result $statement)
odbc_binmode(Odbc\Result $statement, int $mode)
odbc_prepare(Odbc\Connection $odbc, string $query)
odbc_exec(Odbc\Connection $odbc, string $query)
const SQL_SCOPE_TRANSACTION
odbc_primarykeys(Odbc\Connection $odbc, ?string $catalog, string $schema, string $table)
odbc_fetch_row(Odbc\Result $statement, ?int $row=null)
odbc_field_num(Odbc\Result $statement, string $field)
odbc_errormsg(?Odbc\Connection $odbc=null)
odbc_next_result(Odbc\Result $statement)
#define arginfo_odbc_field_type
#define arginfo_odbc_pconnect
#define arginfo_odbc_errormsg
#define arginfo_odbc_num_fields
#define arginfo_odbc_field_precision
#define arginfo_odbc_field_scale
#define arginfo_odbc_exec
#define arginfo_odbc_rollback
#define arginfo_odbc_connection_string_should_quote
zend_attribute_arg args[1]
ZEND_API zend_class_entry * zend_register_internal_class_with_flags(zend_class_entry *class_entry, zend_class_entry *parent_ce, uint32_t ce_flags)
#define ZEND_BEGIN_ARG_WITH_RETURN_OBJ_TYPE_MASK_EX(name, return_reference, required_num_args, class_name, type)
#define ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(name, return_reference, required_num_args, type)
#define ZEND_ARG_OBJ_INFO_WITH_DEFAULT_VALUE(pass_by_ref, name, class_name, allow_null, default_value)
struct _zend_function_entry zend_function_entry
#define ZEND_ARG_OBJ_TYPE_MASK(pass_by_ref, name, class_name, type_mask, default_value)
#define ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(name, return_reference, required_num_args, type, allow_null)
#define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags, frameless_function_infos, doc_comment)
#define ZEND_ARG_INFO(pass_by_ref, name)
#define ZEND_ARG_TYPE_MASK(pass_by_ref, name, type_mask, default_value)
#define ZEND_END_ARG_INFO()
#define ZEND_ARG_OBJ_INFO(pass_by_ref, name, class_name, allow_null)
#define ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(pass_by_ref, name, type_hint, allow_null, default_value)
#define ZEND_ARG_TYPE_INFO(pass_by_ref, name, type_hint, allow_null)
#define ZEND_FE(name, arg_info)
#define ZEND_FUNCTION(name)
#define INIT_NS_CLASS_ENTRY(class_container, ns, class_name, functions)
struct _zend_attribute zend_attribute
#define ZEND_ACC_NO_DYNAMIC_PROPERTIES
#define ZEND_ACC_NOT_SERIALIZABLE
#define ZEND_ACC_DEPRECATED
#define REGISTER_STRING_CONSTANT(name, str, flags)
#define REGISTER_LONG_CONSTANT(name, lval, flags)
struct _zend_string zend_string
struct _zend_class_entry zend_class_entry
#define ZVAL_COPY_VALUE(z, v)