We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
key_initialized
1 parent 65c367f commit c0b16e0Copy full SHA for c0b16e0
ext/reflection/php_reflection.c
@@ -7112,7 +7112,7 @@ ZEND_METHOD(ReflectionReference, getId)
7112
RETURN_THROWS();
7113
}
7114
7115
- REFLECTION_G(key_initialized) = 1;
+ REFLECTION_G(key_initialized) = true;
7116
7117
7118
/* SHA1(ref || key) to avoid directly exposing memory addresses. */
@@ -7970,7 +7970,7 @@ PHP_MINIT_FUNCTION(reflection) /* {{{ */
7970
7971
reflection_property_hook_type_ptr = register_class_PropertyHookType();
7972
7973
- REFLECTION_G(key_initialized) = 0;
+ REFLECTION_G(key_initialized) = false;
7974
7975
return SUCCESS;
7976
} /* }}} */
0 commit comments