Merge branch 'PHP-8.2' into PHP-8.3

* PHP-8.2:
  Fix printing backtrace of fake generator frame
This commit is contained in:
Ilija Tovilo 2024-09-27 17:35:55 +02:00
commit 8c556b211d
No known key found for this signature in database
GPG key ID: 5050C66BFCD1015A
4 changed files with 40 additions and 0 deletions

View file

@ -1076,6 +1076,7 @@ do_repeat:
object_init_ex(&ref, pce);
memset(&execute_data, 0, sizeof(zend_execute_data));
execute_data.func = (zend_function *) &zend_pass_function;
EG(current_execute_data) = &execute_data;
zend_call_known_instance_method_with_1_params(
pce->constructor, Z_OBJ(ref), NULL, &arg);