@ -237,8 +237,10 @@ int php_count_recursive(zval *array, long mode)
{
long cnt = 0;
zval **element;
HashTable *target_hash;
TSRMLS_FETCH();
target_hash = HASH_OF(array);
if (Z_TYPE_P(array) == IS_ARRAY)
@ -548,6 +548,7 @@ static void php_wddx_serialize_array(wddx_packet *packet, zval *arr)
char tmp_buf[WDDX_BUF_LEN];
ulong ind = 0;
int type;
target_hash = HASH_OF(arr);