From: Zeev Suraski Date: Tue, 6 Jan 2004 20:38:00 +0000 (+0000) Subject: Fix C++ style declaration X-Git-Tag: php_ibase_before_split~373 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=215c3275de626bdaf44fbaaa512728ac16450202;p=php Fix C++ style declaration --- diff --git a/ext/standard/http.c b/ext/standard/http.c index 7bf2e50c37..43e75ec7fc 100644 --- a/ext/standard/http.c +++ b/ext/standard/http.c @@ -62,12 +62,13 @@ PHPAPI int php_url_encode_hash_ex(HashTable *ht, smart_str *formstr, /* handling for private & protected object properties */ if (*key == '\0' && type != NULL) { + char *tmp; + zend_object *zobj = zend_objects_get_address(type TSRMLS_CC); if (zend_check_property_access(zobj, key TSRMLS_CC) != SUCCESS) { /* private or protected property access outside of the class */ continue; } - char *tmp; zend_unmangle_property_name(key, &tmp, &key); key_len = strlen(key); }