if (extension_dir && extension_dir[0]){
int extension_dir_len = strlen(extension_dir);
- if(type == MODULE_TEMPORARY) {
- if(strchr(Z_STRVAL_P(file), '/') != NULL || strchr(Z_STRVAL_P(file), DEFAULT_SLASH) != NULL) {
+ if (type == MODULE_TEMPORARY) {
+ if (strchr(Z_STRVAL_P(file), '/') != NULL || strchr(Z_STRVAL_P(file), DEFAULT_SLASH) != NULL) {
php_error_docref(NULL TSRMLS_CC, E_WARNING, "Temporary module name should contain only filename");
RETURN_FALSE;
}
int zend_api;
unsigned char zend_debug, zts;
- if(( ((struct pre_4_1_0_module_entry *)module_entry)->zend_api > 20000000)
- &&(((struct pre_4_1_0_module_entry *)module_entry)->zend_api < 20010901)) {
+ if ((((struct pre_4_1_0_module_entry *)module_entry)->zend_api > 20000000) &&
+ (((struct pre_4_1_0_module_entry *)module_entry)->zend_api < 20010901)
+ ) {
name = ((struct pre_4_1_0_module_entry *)module_entry)->name;
zend_api = ((struct pre_4_1_0_module_entry *)module_entry)->zend_api;
zend_debug = ((struct pre_4_1_0_module_entry *)module_entry)->zend_debug;