use zend_symtable where appropriate
[m6w6/ext-http] / php_http_property_proxy.c
index 426f3c3dd2a6f5d63d7b7575d4c2f6b4df80c594..35e725a4b63d5afce949a4656f3325878bf02d88 100644 (file)
@@ -127,7 +127,7 @@ static zval *php_http_property_proxy_object_read_dimension(zval *object, zval *o
                        }
                } else {
                        offset = php_http_ztyp(IS_STRING, offset);
-                       if (SUCCESS == zend_hash_find(Z_ARRVAL_P(property), Z_STRVAL_P(offset), Z_STRLEN_P(offset), (void *) &data)) {
+                       if (SUCCESS == zend_symtable_find(Z_ARRVAL_P(property), Z_STRVAL_P(offset), Z_STRLEN_P(offset), (void *) &data)) {
                                retval = *data;
                        }
                        zval_ptr_dtor(&offset);