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 d6aed44 commit 1d58d6aCopy full SHA for 1d58d6a
Zend/zend_compile.c
@@ -8961,7 +8961,7 @@ static void zend_compile_implements(zend_ast *ast) /* {{{ */
8961
interface_names[i].name =
8962
zend_resolve_const_class_name_reference(class_ast, "interface name");
8963
interface_names[i].lc_name = zend_string_tolower(interface_names[i].name);
8964
- interface_names[i].is_optional = ZEND_CLASS_NAME_OPTIONAL & class_ast->attr;
+ interface_names[i].is_optional = class_ast->attr & ZEND_CLASS_NAME_OPTIONAL;
8965
}
8966
8967
ce->num_interfaces = list->children;
0 commit comments