diff options
Diffstat (limited to 'Zend/zend_constants.c')
-rw-r--r-- | Zend/zend_constants.c | 17 |
1 files changed, 3 insertions, 14 deletions
diff --git a/Zend/zend_constants.c b/Zend/zend_constants.c index e2a945c746..49ee762c60 100644 --- a/Zend/zend_constants.c +++ b/Zend/zend_constants.c @@ -2,7 +2,7 @@ +----------------------------------------------------------------------+ | Zend Engine | +----------------------------------------------------------------------+ - | Copyright (c) 1998-2018 Zend Technologies Ltd. (http://www.zend.com) | + | Copyright (c) Zend Technologies Ltd. (http://www.zend.com) | +----------------------------------------------------------------------+ | This source file is subject to version 2.00 of the Zend license, | | that is bundled with this package in the file LICENSE, and is | @@ -83,9 +83,9 @@ static int clean_module_constant(zval *el, void *arg) int module_number = *(int *)arg; if (ZEND_CONSTANT_MODULE_NUMBER(c) == module_number) { - return 1; + return ZEND_HASH_APPLY_REMOVE; } else { - return 0; + return ZEND_HASH_APPLY_KEEP; } } @@ -532,14 +532,3 @@ ZEND_API int zend_register_constant(zend_constant *c) } return ret; } - - -/* - * Local variables: - * tab-width: 4 - * c-basic-offset: 4 - * indent-tabs-mode: t - * End: - * vim600: sw=4 ts=4 fdm=marker - * vim<600: sw=4 ts=4 - */ |