mirror of
https://github.com/php/php-src.git
synced 2024-09-22 02:17:32 +00:00
Fixed if() condition.
This commit is contained in:
parent
4c4d5a02b9
commit
c66bcc7b74
@ -78,9 +78,9 @@ static long mem_block_end_magic = MEM_BLOCK_END_MAGIC;
|
|||||||
if (AG(memory_limit)+1048576 > AG(allocated_memory) - rs) { \
|
if (AG(memory_limit)+1048576 > AG(allocated_memory) - rs) { \
|
||||||
AG(memory_limit) = AG(allocated_memory) + 1048576; \
|
AG(memory_limit) = AG(allocated_memory) + 1048576; \
|
||||||
if (file) { \
|
if (file) { \
|
||||||
zend_error(E_ERROR,"Allowed memory size of %d bytes exhausted (tried to allocate %d bytes)", php_mem_limit, s); \
|
|
||||||
} else { \
|
|
||||||
zend_error(E_ERROR,"Allowed memory size of %d bytes exhausted at %s:%d (tried to allocate %d bytes)", php_mem_limit, file, lineno, s); \
|
zend_error(E_ERROR,"Allowed memory size of %d bytes exhausted at %s:%d (tried to allocate %d bytes)", php_mem_limit, file, lineno, s); \
|
||||||
|
} else { \
|
||||||
|
zend_error(E_ERROR,"Allowed memory size of %d bytes exhausted (tried to allocate %d bytes)", php_mem_limit, s); \
|
||||||
} \
|
} \
|
||||||
} else { \
|
} else { \
|
||||||
if (file) { \
|
if (file) { \
|
||||||
|
Loading…
Reference in New Issue
Block a user