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.
1 parent 77f5ebc commit 9efccd2Copy full SHA for 9efccd2
Zend/zend_compile.c
@@ -8988,7 +8988,7 @@ static void zend_compile_implements(zend_ast *ast) /* {{{ */
8988
interface_names[i].name =
8989
zend_resolve_const_class_name_reference(class_ast, "interface name");
8990
interface_names[i].lc_name = zend_string_tolower(interface_names[i].name);
8991
- interface_names[i].is_optional = ZEND_CLASS_NAME_OPTIONAL & class_ast->attr;
+ interface_names[i].is_optional = class_ast->attr & ZEND_CLASS_NAME_OPTIONAL;
8992
}
8993
8994
ce->num_interfaces = list->children;
0 commit comments