use zend_symtable where appropriate
[m6w6/ext-http] / php_http_env_response.c
index f6e23cfa029252afd69829cf04f4438bd3a957b1..a374b425c74932ecd09642b034015ea6e2a53a39 100644 (file)
@@ -70,7 +70,7 @@ static zval *get_option(zval *options, const char *name_str, size_t name_len TSR
                val = zend_read_property(Z_OBJCE_P(options), options, name, name_len, 0 TSRMLS_CC);
                efree(name);
        } else {
-               if (SUCCESS == zend_hash_find(Z_ARRVAL_P(options), name_str, name_len + 1, (void *) &valptr)) {
+               if (SUCCESS == zend_symtable_find(Z_ARRVAL_P(options), name_str, name_len + 1, (void *) &valptr)) {
                        val = *valptr;
                } else {
                        val = NULL;