Merge branch 'PHP-8.3' into PHP-8.4

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

View file

@ -1045,6 +1045,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);