Skip to content

Commit 8e93eb2

Browse files
committed
Merge branch 'PHP-8.3'
* PHP-8.3: Workaraound against false positive GCC array bounds error (#15078)
2 parents 40cf2e1 + 1511172 commit 8e93eb2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Zend/zend_API.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2751,8 +2751,8 @@ static void zend_check_magic_method_no_return_type(
27512751

27522752
ZEND_API void zend_check_magic_method_implementation(const zend_class_entry *ce, const zend_function *fptr, zend_string *lcname, int error_type) /* {{{ */
27532753
{
2754-
if (ZSTR_VAL(fptr->common.function_name)[0] != '_'
2755-
|| ZSTR_VAL(fptr->common.function_name)[1] != '_') {
2754+
if (ZSTR_VAL(lcname)[0] != '_'
2755+
|| ZSTR_VAL(lcname)[1] != '_') {
27562756
return;
27572757
}
27582758

0 commit comments

Comments
 (0)