Skip to content

Commit 1d58d6a

Browse files
tontonsbiluuu1994
andauthored
Update Zend/zend_compile.c
Co-authored-by: Ilija Tovilo <[email protected]>
1 parent d6aed44 commit 1d58d6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Zend/zend_compile.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8961,7 +8961,7 @@ static void zend_compile_implements(zend_ast *ast) /* {{{ */
89618961
interface_names[i].name =
89628962
zend_resolve_const_class_name_reference(class_ast, "interface name");
89638963
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;
8964+
interface_names[i].is_optional = class_ast->attr & ZEND_CLASS_NAME_OPTIONAL;
89658965
}
89668966

89678967
ce->num_interfaces = list->children;

0 commit comments

Comments
 (0)