31#if SIZEOF_ZEND_LONG == 8
32#define PHP_DISP_E_DIVBYZERO ((zend_long) (ULONG) DISP_E_DIVBYZERO)
33#define PHP_DISP_E_OVERFLOW ((zend_long) (ULONG) DISP_E_OVERFLOW)
34#define PHP_DISP_E_BADINDEX ((zend_long) (ULONG) DISP_E_BADINDEX)
35#define PHP_DISP_E_PARAMNOTFOUND ((zend_long) (ULONG) DISP_E_PARAMNOTFOUND)
36#define PHP_MK_E_UNAVAILABLE ((zend_long) (ULONG) MK_E_UNAVAILABLE)
38#define PHP_DISP_E_DIVBYZERO DISP_E_DIVBYZERO
39#define PHP_DISP_E_OVERFLOW DISP_E_OVERFLOW
40#define PHP_DISP_E_BADINDEX DISP_E_BADINDEX
41#define PHP_DISP_E_PARAMNOTFOUND DISP_E_PARAMNOTFOUND
42#define PHP_MK_E_UNAVAILABLE MK_E_UNAVAILABLE
74#ifdef COMPILE_DL_COM_DOTNET
91 char *typelib_name_buffer;
92 char *strtok_buf =
NULL;
94 if (
NULL == new_value || !new_value->val[0] || (typelib_file =
VCWD_FOPEN(new_value->val,
"r"))==
NULL) {
98 typelib_name_buffer = (
char *)
emalloc(
sizeof(
char)*1024);
100 while (
fgets(typelib_name_buffer, 1024, typelib_file)) {
103 char *modifier, *
ptr;
105 if (typelib_name_buffer[0]==
';') {
108 typelib_name =
php_strtok_r(typelib_name_buffer,
"\r\n", &strtok_buf);
109 if (typelib_name ==
NULL) {
112 typelib_name =
php_strtok_r(typelib_name,
"#", &strtok_buf);
114 if (modifier !=
NULL) {
115 if (!
strcmp(modifier,
"cis") || !
strcmp(modifier,
"case_insensitive")) {
116 php_error_docref(
"com.configuration",
E_WARNING,
"Declaration of case-insensitive constants is no longer supported; #cis modifier ignored");
121 while (isspace(*typelib_name)) {
124 ptr = typelib_name +
strlen(typelib_name) - 1;
125 while ((
ptr != typelib_name) && isspace(*
ptr)) {
132 ITypeLib_Release(pTL);
136 efree(typelib_name_buffer);
148 return OnUpdateBool(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage);
165#if defined(COMPILE_DL_COM_DOTNET) && defined(ZTS)
168 memset(com_dotnet_globals, 0,
sizeof(*com_dotnet_globals));
169 com_dotnet_globals->code_page =
CP_ACP;
207 register_com_extension_symbols(module_number);
fgets($stream, ?int $length=null)
zend_module_entry com_dotnet_module_entry
zend_class_entry * php_com_exception_class_entry
zend_class_entry * php_com_variant_class_entry
zend_class_entry * php_com_saproxy_class_entry
zend_object_handlers php_com_object_handlers
zend_object * php_com_object_new(zend_class_entry *ce)
zend_object_iterator * php_com_iter_get(zend_class_entry *ce, zval *object, int by_ref)
void php_com_persist_minit(INIT_FUNC_ARGS)
zend_object_iterator * php_com_saproxy_iter_get(zend_class_entry *ce, zval *object, int by_ref)
zend_object_handlers php_com_saproxy_handlers
PHP_COM_DOTNET_API ITypeLib * php_com_load_typelib_via_cache(const char *search_string, int codepage)
PHP_COM_DOTNET_API zend_result php_com_import_typelib(ITypeLib *TL, int mode, int codepage)
memset(ptr, 0, type->size)
PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format,...)
php_info_print_table_start()
php_info_print_table_row(2, "PDO Driver for Firebird", "enabled")
php_info_print_table_end()
#define PHP_MSHUTDOWN_FUNCTION
#define PHP_MINIT_FUNCTION
#define PHP_MINFO_FUNCTION
#define PHP_GINIT_FUNCTION
#define PHP_RINIT_FUNCTION
#define PHP_RSHUTDOWN_FUNCTION
#define PHP_MODULE_GLOBALS
void * dotnet_runtime_stuff
bool autoreg_case_sensitive
#define PHP_COM_DOTNET_VERSION
void php_com_dotnet_rshutdown(void)
void php_com_dotnet_mshutdown(void)
#define STD_PHP_INI_ENTRY
#define STD_PHP_INI_BOOLEAN
PHPAPI char * php_strtok_r(char *s, const char *delim, char **last)
zend_object *(* create_object)(zend_class_entry *class_type)
zend_object_iterator *(* get_iterator)(zend_class_entry *ce, zval *object, int by_ref)
const zend_object_handlers * default_object_handlers
#define ZEND_TSRMLS_CACHE_UPDATE()
#define ZEND_TSRMLS_CACHE_DEFINE()
#define ZEND_DECLARE_MODULE_GLOBALS(module_name)
#define ZEND_GET_MODULE(name)
strcmp(string $string1, string $string2)
ZEND_API zend_class_entry * zend_ce_exception
ZEND_API bool zend_ini_parse_bool(zend_string *str)
#define UNREGISTER_INI_ENTRIES()
#define REGISTER_INI_ENTRIES()
#define DISPLAY_INI_ENTRIES()
#define ZEND_INI_MH(name)
#define STANDARD_MODULE_HEADER
#define INIT_FUNC_ARGS_PASSTHRU
struct _zend_module_entry zend_module_entry
#define STANDARD_MODULE_PROPERTIES_EX
struct _zend_class_entry zend_class_entry
#define VCWD_FOPEN(path, mode)