Skip to content

Commit 3b3a200

Browse files
committed
Simplify
1 parent 9114a71 commit 3b3a200

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

ext/reflection/php_reflection.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5222,8 +5222,7 @@ void reflection_class_new_lazy(INTERNAL_FUNCTION_PARAMETERS,
52225222
obj = NULL;
52235223
}
52245224

5225-
zend_long accepted_flags = ZEND_LAZY_OBJECT_USER_MASK;
5226-
if (options & ~accepted_flags) {
5225+
if (options & ~ZEND_LAZY_OBJECT_USER_MASK) {
52275226
uint32_t arg_num = 2 + is_reset;
52285227
zend_argument_error(reflection_exception_ptr, arg_num,
52295228
"contains invalid flags");

0 commit comments

Comments
 (0)