mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Merge branch 'PHP-8.2' into PHP-8.3
* PHP-8.2: Fix lineno for inheritance errors of early bound classes
This commit is contained in:
commit
e02085359d
3 changed files with 24 additions and 0 deletions
|
@ -3410,6 +3410,8 @@ ZEND_API zend_class_entry *zend_try_early_bind(zend_class_entry *ce, zend_class_
|
|||
CG(current_linking_class) = is_cacheable ? ce : NULL;
|
||||
|
||||
zend_try{
|
||||
CG(zend_lineno) = ce->info.user.line_start;
|
||||
|
||||
if (is_cacheable) {
|
||||
zend_begin_record_errors();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue