mirror of
https://github.com/php/php-src.git
synced 2024-09-21 09:57:23 +00:00
Merge branch 'PHP-8.2' into PHP-8.3
* PHP-8.2: Workaraound against false positive GCC array bounds error (#15078)
This commit is contained in:
commit
1511172b1b
@ -2635,8 +2635,8 @@ static void zend_check_magic_method_no_return_type(
|
||||
|
||||
ZEND_API void zend_check_magic_method_implementation(const zend_class_entry *ce, const zend_function *fptr, zend_string *lcname, int error_type) /* {{{ */
|
||||
{
|
||||
if (ZSTR_VAL(fptr->common.function_name)[0] != '_'
|
||||
|| ZSTR_VAL(fptr->common.function_name)[1] != '_') {
|
||||
if (ZSTR_VAL(lcname)[0] != '_'
|
||||
|| ZSTR_VAL(lcname)[1] != '_') {
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user