1
0
mirror of https://github.com/php/php-src.git synced 2026-04-29 19:23:22 +02:00
This commit is contained in:
Arnaud Le Blanc
2025-12-18 10:55:05 +01:00
parent c0b16e080b
commit 833120eb72
+2 -2
View File
@@ -1124,12 +1124,12 @@ static zend_result ZEND_FASTCALL zend_ast_evaluate_inner(
if (!(fptr->common.fn_flags & ZEND_ACC_STATIC)) {
zend_non_static_method_call(fptr);
return FAILURE;
}
if ((fptr->common.fn_flags & ZEND_ACC_ABSTRACT)) {
zend_abstract_method_call(fptr);
return FAILURE;
} else if (fptr->common.scope->ce_flags & ZEND_ACC_TRAIT) {
zend_error(E_DEPRECATED,