summaryrefslogtreecommitdiff
path: root/ext/zlib/zlib.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/zlib/zlib.c')
-rw-r--r--ext/zlib/zlib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/zlib/zlib.c b/ext/zlib/zlib.c
index 7fcb6a1e51..715fdaff1c 100644
--- a/ext/zlib/zlib.c
+++ b/ext/zlib/zlib.c
@@ -899,7 +899,7 @@ PHP_FUNCTION(deflate_init)
RETURN_FALSE;
}
- if (options && (option_buffer = zend_symtable_str_find(options, "memory", sizeof("memory")-1)) != NULL) {
+ if (options && (option_buffer = zend_hash_str_find(options, "memory", sizeof("memory")-1)) != NULL) {
memory = zval_get_long(option_buffer);
}
if (memory < 1 || memory > 9) {