]> granicus.if.org Git - php/commitdiff
- Add TSRMLS_FETCH()'s needed for the new object overloading in ZE2.
authorAndi Gutmans <andi@php.net>
Tue, 5 Feb 2002 20:43:49 +0000 (20:43 +0000)
committerAndi Gutmans <andi@php.net>
Tue, 5 Feb 2002 20:43:49 +0000 (20:43 +0000)
ext/standard/array.c
ext/wddx/wddx.c

index 069d8f30932d048a84f14ec437038dea6ef5a4b0..d80ac32507e7683200ae5e83d9594eb3408c2843 100644 (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)
index c7e31dad4a5469a566d19432dccd6114020c876b..184103b2df16863f36462e46069cb31d8f9a4a29 100644 (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);