version 1.1.1.1, 2012/02/21 23:48:05
|
version 1.1.1.2, 2012/05/29 12:34:45
|
Line 457 static void php_wddx_serialize_object(wddx_packet *pac
|
Line 457 static void php_wddx_serialize_object(wddx_packet *pac
|
/* OBJECTS_FIXME */ |
/* OBJECTS_FIXME */ |
zval **ent, *fname, **varname; |
zval **ent, *fname, **varname; |
zval *retval = NULL; |
zval *retval = NULL; |
char *key; | const char *key; |
ulong idx; |
ulong idx; |
char tmp_buf[WDDX_BUF_LEN]; |
char tmp_buf[WDDX_BUF_LEN]; |
HashTable *objhash, *sleephash; |
HashTable *objhash, *sleephash; |
Line 529 static void php_wddx_serialize_object(wddx_packet *pac
|
Line 529 static void php_wddx_serialize_object(wddx_packet *pac
|
} |
} |
|
|
if (zend_hash_get_current_key_ex(objhash, &key, &key_len, &idx, 0, NULL) == HASH_KEY_IS_STRING) { |
if (zend_hash_get_current_key_ex(objhash, &key, &key_len, &idx, 0, NULL) == HASH_KEY_IS_STRING) { |
char *class_name, *prop_name; | const char *class_name, *prop_name; |
|
|
zend_unmangle_property_name(key, key_len-1, &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); |
php_wddx_serialize_var(packet, *ent, prop_name, strlen(prop_name)+1 TSRMLS_CC); |