version 1.1.1.1, 2012/02/21 23:48:05
|
version 1.1.1.4, 2014/06/15 20:04:00
|
Line 2
|
Line 2
|
+----------------------------------------------------------------------+ |
+----------------------------------------------------------------------+ |
| PHP Version 5 | |
| PHP Version 5 | |
+----------------------------------------------------------------------+ |
+----------------------------------------------------------------------+ |
| Copyright (c) 1997-2012 The PHP Group | | | Copyright (c) 1997-2014 The PHP Group | |
+----------------------------------------------------------------------+ |
+----------------------------------------------------------------------+ |
| This source file is subject to version 3.01 of the PHP license, | |
| This source file is subject to version 3.01 of the PHP license, | |
| that is bundled with this package in the file LICENSE, and is | |
| that is bundled with this package in the file LICENSE, and is | |
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); |