Lines Matching refs:filename

44 	char *filename;  in PHP_FUNCTION()  local
48 Z_PARAM_STRING(filename, filename_len) in PHP_FUNCTION()
69 php_dl(filename, MODULE_TEMPORARY, return_value, 0); in PHP_FUNCTION()
110 PHPAPI int php_load_extension(const char *filename, int type, int start_now) in php_load_extension() argument
133 if (strchr(filename, '/') != NULL || strchr(filename, DEFAULT_SLASH) != NULL) { in php_load_extension()
139 libpath = estrdup(filename); in php_load_extension()
144 spprintf(&libpath, 0, "%s%s", extension_dir, filename); /* SAFE */ in php_load_extension()
146 spprintf(&libpath, 0, "%s%c%s", extension_dir, DEFAULT_SLASH, filename); /* SAFE */ in php_load_extension()
158 …spprintf(&libpath, 0, "%s" PHP_SHLIB_EXT_PREFIX "%s." PHP_SHLIB_SUFFIX, extension_dir, filename); … in php_load_extension()
160 …c" PHP_SHLIB_EXT_PREFIX "%s." PHP_SHLIB_SUFFIX, extension_dir, DEFAULT_SLASH, filename); /* SAFE */ in php_load_extension()
166 filename, orig_libpath, err1, libpath, err2); in php_load_extension()
200 …ary (appears to be a Zend Extension, try loading using zend_extension=%s from php.ini)", filename); in php_load_extension()
204 php_error_docref(NULL, error_type, "Invalid library (maybe not a PHP library) '%s'", filename); in php_load_extension()
275 static void php_dl_error(const char *filename) in php_dl_error() argument
277 …ocref(NULL, E_WARNING, "Cannot dynamically load %s - dynamic modules are not supported", filename); in php_dl_error()
287 PHPAPI int php_load_extension(const char *filename, int type, int start_now) in php_load_extension() argument
289 php_dl_error(filename); in php_load_extension()