{
zend_ini_entry *ini_entry;
- if (ini_entry == zend_hash_str_find_ptr(EG(ini_directives), name_str, name_len)) {
+ if ((ini_entry = zend_hash_str_find_ptr(EG(ini_directives), name_str, name_len))) {
if (orig && ini_entry->modified) {
*val_str = ini_entry->orig_value->val;
*val_len = ini_entry->orig_value->len;
return FAILURE;
}
+#define Z_ISUSER(zv) (Z_TYPE(zv) <= 10)
+#define Z_ISUSER_P(zvp) Z_ISUSER(*(zvp))
+
#define RETVAL_STR_COPY(zs) ZVAL_STR_COPY(return_value, zs)
#define RETURN_STR_COPY(zs) do { \
ZVAL_STR_COPY(return_value, zs); \