mirror of
https://github.com/php/php-src.git
synced 2024-11-25 10:54:15 +08:00
- Add TSRMLS_FETCH()'s needed for the new object overloading in ZE2.
This commit is contained in:
parent
a8013517f5
commit
284eaf34cc
@ -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;
|
||||
TSRMLS_FETCH();
|
||||
|
||||
target_hash = HASH_OF(arr);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user