diff options
author | Andrey Hristov <andrey@php.net> | 2003-01-13 16:39:16 +0000 |
---|---|---|
committer | Andrey Hristov <andrey@php.net> | 2003-01-13 16:39:16 +0000 |
commit | ffeb57afb5ce6262f76592ef0da216239858c247 (patch) | |
tree | ad689ea247fef4d82b40020a61af63ab24935cd8 /ext/soap/php_encoding.c | |
parent | 8e7df3fbf1334a3b1a26dffb586a0d916d81a8a7 (diff) | |
download | php-git-ffeb57afb5ce6262f76592ef0da216239858c247.tar.gz |
Modifying TS build.
Migrating to _ex API for hash traversal.
Diffstat (limited to 'ext/soap/php_encoding.c')
-rw-r--r-- | ext/soap/php_encoding.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/soap/php_encoding.c b/ext/soap/php_encoding.c index d48bccc918..265606adf9 100644 --- a/ext/soap/php_encoding.c +++ b/ext/soap/php_encoding.c @@ -558,7 +558,7 @@ xmlNodePtr to_xml_array(encodeType type, zval *data, int style) if(style == SOAP_ENCODED) { - get_array_type(data, &array_type); + get_array_type(data, &array_type TSRMLS_CC); smart_str_append(&array_type_and_size, &array_type); smart_str_appendc(&array_type_and_size, '['); smart_str_append_long(&array_type_and_size, i); @@ -1021,13 +1021,13 @@ int is_map(zval *array) return FALSE; } -void get_array_type(zval *array, smart_str *type) +void get_array_type(zval *array, smart_str *type TSRMLS_DC) { - HashTable *ht = array->value.ht; + HashTable *ht = HASH_OF(array); int i, count, cur_type, prev_type, different; char *name = NULL; zval **tmp; - TSRMLS_FETCH(); +/* TSRMLS_FETCH();*/ if(!array || Z_TYPE_P(array) != IS_ARRAY) smart_str_appendl(type, "xsd:ur-type", 11); |