diff options
author | Marcus Boerger <helly@php.net> | 2006-07-24 17:55:41 +0000 |
---|---|---|
committer | Marcus Boerger <helly@php.net> | 2006-07-24 17:55:41 +0000 |
commit | eb0fd6301238c965e682c3bf6543b743a7977470 (patch) | |
tree | 12fbf821979650acd862b4c1f4acdc16cb7c1330 /ext/wddx | |
parent | 617a18fc408d8726b9efb6eb817dfc08421fc041 (diff) | |
download | php-git-eb0fd6301238c965e682c3bf6543b743a7977470.tar.gz |
- zend_(u_)_unmangle_property_name() has changed
Diffstat (limited to 'ext/wddx')
-rw-r--r-- | ext/wddx/wddx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/wddx/wddx.c b/ext/wddx/wddx.c index 3baf57a891..f1dd4ff0ed 100644 --- a/ext/wddx/wddx.c +++ b/ext/wddx/wddx.c @@ -530,7 +530,7 @@ static void php_wddx_serialize_object(wddx_packet *packet, zval *obj) if (zend_hash_get_current_key_ex(HASH_OF(obj), &key, &key_len, &idx, 0, NULL) == HASH_KEY_IS_STRING) { char *class_name, *prop_name; - zend_unmangle_property_name(key, &class_name, &prop_name); + zend_unmangle_property_name(key, key_len-1, &class_name, &prop_name); php_wddx_serialize_var(packet, *ent, prop_name, strlen(prop_name)+1 TSRMLS_CC); } else { key_len = sprintf(tmp_buf, "%ld", idx); |