mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Fixed Generator::throw()
This commit is contained in:
parent
018be97c0d
commit
9ebd9388ee
1 changed files with 1 additions and 1 deletions
|
@ -541,7 +541,7 @@ ZEND_METHOD(Generator, throw)
|
|||
return;
|
||||
}
|
||||
|
||||
ZVAL_COPY_VALUE(&exception_copy, exception);
|
||||
ZVAL_DUP(&exception_copy, exception);
|
||||
|
||||
generator = (zend_generator *) Z_OBJ_P(getThis());
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue