summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Zend/zend_reflection_api.c2
-rw-r--r--ext/reflection/php_reflection.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/Zend/zend_reflection_api.c b/Zend/zend_reflection_api.c
index 8dfe11a55d..ee9f7a5dff 100644
--- a/Zend/zend_reflection_api.c
+++ b/Zend/zend_reflection_api.c
@@ -371,7 +371,7 @@ static void _class_string(string *str, zend_class_entry *ce, zval *obj, char *in
/* static properties */
string_printf(str, "\n%s - Static methods [%d] {", indent, count_static_funcs);
- if (count > 0) {
+ if (count_static_funcs > 0) {
HashPosition pos;
zend_function *mptr;
diff --git a/ext/reflection/php_reflection.c b/ext/reflection/php_reflection.c
index 8dfe11a55d..ee9f7a5dff 100644
--- a/ext/reflection/php_reflection.c
+++ b/ext/reflection/php_reflection.c
@@ -371,7 +371,7 @@ static void _class_string(string *str, zend_class_entry *ce, zval *obj, char *in
/* static properties */
string_printf(str, "\n%s - Static methods [%d] {", indent, count_static_funcs);
- if (count > 0) {
+ if (count_static_funcs > 0) {
HashPosition pos;
zend_function *mptr;