- Add TSRMLS_FETCH()'s needed for the new object overloading in ZE2.

This commit is contained in:
Andi Gutmans 2002-02-05 20:43:49 +00:00
parent a8013517f5
commit 284eaf34cc
2 changed files with 4 additions and 1 deletions

View File

@ -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)

View File

@ -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;
TSRMLS_FETCH();
target_hash = HASH_OF(arr);