diff options
Diffstat (limited to 'Zend/zend_execute_API.c')
-rw-r--r-- | Zend/zend_execute_API.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Zend/zend_execute_API.c b/Zend/zend_execute_API.c index 53d1f0d457..76533e51d5 100644 --- a/Zend/zend_execute_API.c +++ b/Zend/zend_execute_API.c @@ -103,7 +103,7 @@ static int clean_non_persistent_function(zend_function *function TSRMLS_DC) static int clean_non_persistent_function_full(zend_function *function TSRMLS_DC) { - return (function->type == ZEND_INTERNAL_FUNCTION) ? ZEND_HASH_APPLY_KEEP : ZEND_HASH_APPLY_REMOVE; + return (function->type != ZEND_INTERNAL_FUNCTION); } @@ -115,7 +115,7 @@ static int clean_non_persistent_class(zend_class_entry **ce TSRMLS_DC) static int clean_non_persistent_class_full(zend_class_entry **ce TSRMLS_DC) { - return ((*ce)->type == ZEND_INTERNAL_CLASS) ? ZEND_HASH_APPLY_KEEP : ZEND_HASH_APPLY_REMOVE; + return ((*ce)->type != ZEND_INTERNAL_CLASS); } |