mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Use ZEND_HASH_APPLY_SHIFT macro instead of hard-coded literal
This commit is contained in:
parent
5a2a92f128
commit
d938a769b2
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ static void _zend_is_inconsistent(const HashTable *ht, const char *file, int lin
|
|||
|
||||
#define HASH_PROTECT_RECURSION(ht) \
|
||||
if ((ht)->u.flags & HASH_FLAG_APPLY_PROTECTION) { \
|
||||
if (((ht)->u.flags & ZEND_HASH_APPLY_COUNT_MASK) >= (3 << 8)) { \
|
||||
if (((ht)->u.flags & ZEND_HASH_APPLY_COUNT_MASK) >= (3 << ZEND_HASH_APPLY_SHIFT)) {\
|
||||
zend_error_noreturn(E_ERROR, "Nesting level too deep - recursive dependency?");\
|
||||
} \
|
||||
ZEND_HASH_INC_APPLY_COUNT(ht); \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue