if (call_user_function_ex(EG(function_table), NULL, *params[0], &retval_ptr, argc-1, params+1, 0, NULL TSRMLS_CC) == SUCCESS && retval_ptr) {
COPY_PZVAL_TO_ZVAL(*return_value, retval_ptr);
} else {
- if (argc>1) {
+ if (argc > 1) {
SEPARATE_ZVAL(params[1]);
convert_to_string_ex(params[1]);
- if (argc>2) {
+ if (argc > 2) {
SEPARATE_ZVAL(params[2]);
convert_to_string_ex(params[2]);
php_error_docref1(NULL TSRMLS_CC, name, E_WARNING, "Unable to call %s(%s,%s)", name, Z_STRVAL_PP(params[1]), Z_STRVAL_PP(params[2]));
int module_number = va_arg(args, int);
zval *option;
- if(module_number != 0 && ini_entry->module_number != module_number) {
+ if (module_number != 0 && ini_entry->module_number != module_number) {
return 0;
}
MAKE_STD_ZVAL(option);
array_init(option);
- if(ini_entry->orig_value) {
+ if (ini_entry->orig_value) {
add_assoc_stringl(option, "global_value", ini_entry->orig_value, ini_entry->orig_value_length, 1);
} else if (ini_entry->value) {
add_assoc_stringl(option, "global_value", ini_entry->value, ini_entry->value_length, 1);
add_assoc_null(option, "global_value");
}
- if(ini_entry->value) {
+ if (ini_entry->value) {
add_assoc_stringl(option, "local_value", ini_entry->value, ini_entry->value_length, 1);
} else {
add_assoc_null(option, "local_value");
zend_ini_sort_entries(TSRMLS_C);
- if(extname) {
+ if (extname) {
if (zend_hash_find(&module_registry, extname, extname_len+1, (void **) &module) == FAILURE) {
php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unable to find extension '%s'", extname);
RETURN_FALSE;
static int php_ini_check_path(char *option_name, int option_len, char *new_option_name, int new_option_len)
{
- if( option_len != (new_option_len-1) ) {
+ if ( option_len != (new_option_len-1) ) {
return 0;
}
switch (callback_type) {
case ZEND_INI_PARSER_ENTRY:
- if(!arg2) {
+ if (!arg2) {
/* bare string - nothing to do */
break;
}
{
zval *active_arr;
- if(!arg2) {
+ if (!arg2) {
/* bare string - nothing to do */
break;
}