summaryrefslogtreecommitdiff
path: root/Zend/zend_alloc.c
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>1999-05-28 12:06:59 +0000
committerZeev Suraski <zeev@php.net>1999-05-28 12:06:59 +0000
commit741b816136830af36a54fb9d4c92e4ac0a12ed57 (patch)
treeeee3631cab7e3ae12b56a4e1d5e0c799bd17dee6 /Zend/zend_alloc.c
parent7a167cd0c1f6ee7c0dce0196b5ca9209a54f534c (diff)
downloadphp-git-741b816136830af36a54fb9d4c92e4ac0a12ed57.tar.gz
* Support getThis() for internal functions.
* Fix 'new object or die' and AiCount issue thoroughly (earlier fix didn't work with the optimizer). * Add new macros for standardized definition of classes. * Only report AiCount problems if shutdown was not silent.
Diffstat (limited to 'Zend/zend_alloc.c')
-rw-r--r--Zend/zend_alloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_alloc.c b/Zend/zend_alloc.c
index e82948acf6..8f022e1325 100644
--- a/Zend/zend_alloc.c
+++ b/Zend/zend_alloc.c
@@ -389,7 +389,7 @@ ZEND_API void shutdown_memory_manager(int silent, int clean_cache)
if (had_leaks) {
ELS_FETCH();
- if (EG(AiCount)!=0) {
+ if (EG(AiCount)!=0 && !silent) {
fprintf(stderr, "AiCount did not zero out: %d\n", EG(AiCount));
}
}