34#define GET_DL_ERROR() php_win_err()
37#define GET_DL_ERROR() DL_ERROR()
62 bool orig_rc_debug = zend_rc_debug;
66 zend_rc_debug =
false;
71 EG(full_tables_cleanup) = 1;
75 zend_rc_debug = orig_rc_debug;
96 while (i > 0 && isspace((*errp)[i-1])) { (*errp)[i-1] =
'\0'; i--; }
98 (*errp) =
estrdup(
"<No message>");
116 int error_type, slash_suffix = 0;
155 char *orig_libpath = libpath;
165 php_error_docref(
NULL, error_type,
"Unable to load dynamic library '%s' (tried: %s (%s), %s (%s))",
166 filename, orig_libpath, err1, libpath, err2);
198 if (DL_FETCH_SYMBOL(
handle,
"zend_extension_entry") || DL_FETCH_SYMBOL(
handle,
"_zend_extension_entry")) {
200 php_error_docref(
NULL, error_type,
"Invalid library (appears to be a Zend Extension, try loading using zend_extension=%s from php.ini)", filename);
207 module_entry = get_module();
215 "%s: Unable to initialize module\n"
216 "Module compiled with module API=%d\n"
217 "PHP compiled with module API=%d\n"
218 "These options need to match\n",
225 "%s: Unable to initialize module\n"
226 "Module compiled with build ID=%s\n"
227 "PHP compiled with build ID=%s\n"
228 "These options need to match\n",
259static void php_dl_error(
const char *filename)
267 (*errp) =
estrdup(
"No DL support");
273 php_dl_error(filename);
294#if defined(HAVE_LIBDL)
295#define PHP_DL_SUPPORT_STATUS "enabled"
297#define PHP_DL_SUPPORT_STATUS "unavailable"
file(string $filename, int $flags=0, $context=null)
strchr(string $haystack, string $needle, bool $before_needle=false)
PHPAPI int php_load_extension(const char *filename, int type, int start_now)
PHPAPI void php_dl(const char *file, int type, zval *return_value, int start_now)
PHPAPI void * php_load_shlib(const char *path, char **errp)
#define PHP_DL_SUPPORT_STATUS
dl(string $extension_filename)
PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format,...)
php_info_print_table_row(2, "PDO Driver for Firebird", "enabled")
#define PHP_MINFO_FUNCTION
zend_result(* request_startup_func)(INIT_FUNC_ARGS)
PHP_WINUTIL_API BOOL php_win32_image_compatible(HMODULE handle, char **err)
PHP_WINUTIL_API void php_win32_error_msg_free(char *msg)
ZEND_API ZEND_COLD void zend_error(int type, const char *format,...)
ZEND_API zend_module_entry * zend_register_module_ex(zend_module_entry *module, int module_type)
ZEND_API HashTable module_registry
ZEND_API zend_result zend_startup_module_ex(zend_module_entry *module)
#define ZEND_PARSE_PARAMETERS_END()
#define Z_PARAM_STRING(dest, dest_len)
#define ZEND_PARSE_PARAMETERS_START(min_num_args, max_num_args)
strcmp(string $string1, string $string2)
ZEND_API void(ZEND_FASTCALL *zend_touch_vm_stack_data)(void *vm_stack_data)
#define ZEND_MODULE_API_NO
#define ZEND_MODULE_BUILD_ID
struct _zend_module_entry zend_module_entry
#define MODULE_PERSISTENT