History log of /PHP-8.0/Zend/zend_generators.c (Results 76 – 100 of 273)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: php-7.1.11, php-5.6.32, php-7.2.0RC5, php-7.0.25, php-7.1.11RC1, php-7.2.0RC4, php-7.0.25RC1, php-7.1.10, php-7.2.0RC3, php-7.0.24, php-7.2.0RC2, php-7.1.10RC1, php-7.0.24RC1, php-7.1.9, php-7.2.0RC1, php-7.0.23, php-7.1.9RC1, php-7.2.0beta3, php-7.0.23RC1, php-7.1.8, php-7.2.0beta2, php-7.0.22
# bad5d0d6 22-Jul-2017 Bob Weinand

Fixed bug #74954 (null deref and segfault in zend_generator_resume())


Revision tags: php-7.1.8RC1, php-7.2.0beta1, php-7.0.22RC1, php-5.6.31, php-7.0.21, php-7.1.7
# bc5811f3 04-Jul-2017 Anatol Belski

further sync for vim mode lines


Revision tags: php-7.2.0alpha3, php-7.1.7RC1, php-7.0.21RC1, php-7.2.0alpha2, php-7.1.6, php-7.2.0alpha1, php-7.0.20, php-7.1.6RC1, php-7.0.20RC1
# 649494c0 17-May-2017 Bob Weinand

Fixed bug #74606 (Segfault within try/catch/finally nesting in Generators)

Thanks to Nikita for pointing out the error source.


Revision tags: php-7.1.5, php-7.0.19, php-7.0.19RC1, php-7.1.5RC1, php-7.1.4, php-7.0.18, php-7.1.4RC1, php-7.0.18RC1, php-7.1.3, php-7.0.17, php-7.1.3RC1, php-7.0.17RC1, php-7.1.2, php-7.0.16, php-7.0.16RC1, php-7.1.2RC1, php-5.6.30, php-7.0.15, php-5.6.30RC1, php-7.1.1RC1, php-7.0.15RC1
# dac6c639 04-Jan-2017 Sammy Kaye Powers

Update copyright headers to 2017


# 478f119a 04-Jan-2017 Sammy Kaye Powers

Update copyright headers to 2017


# 9e29f841 02-Jan-2017 Sammy Kaye Powers

Update copyright headers to 2017


Revision tags: php-7.1.1
# fac95658 12-Dec-2016 Dmitry Stogov

Improved VM stack unwinding on exception.
Now zend_throw_exception_hook() is going to be called only when exception is actually thrown and not going to be recalled for each unwinded finction.


Revision tags: php-5.6.29, php-7.0.14
# fcaccbaa 01-Dec-2016 Bob Weinand

Fix valgrind issue when throwing due to yield from aborted generator


Revision tags: php-7.1.0, php-5.6.29RC1, php-7.0.14RC1, php-7.1.0RC6, php-5.6.28, php-7.0.13, php-5.6.28RC1, php-7.1.0RC5, php-7.0.13RC1, php-7.1.0RC4, php-5.6.27, php-7.0.12, php-7.1.0RC3, php-5.6.27RC1
# 22a3d55e 28-Sep-2016 Anatol Belski

fix exports which are now referenced by phpdbg

(cherry picked from commit cd0f1c8a5ed6d4e677dbf891fc69326e5b05cccc)


# cd0f1c8a 28-Sep-2016 Anatol Belski

fix exports which are now referenced by phpdbg


# e5d75d72 28-Sep-2016 Bob Weinand

Add phpdbg generator command


Revision tags: php-7.0.12RC1, php-5.6.26, php-7.1.0RC2, php-7.0.11
# d690014b 11-Sep-2016 Andrea Faulds

Remove zpp fallback code (always use Fast ZPP)

Squashed commit of the following:

commit 3e27fbb3d22b42d181e15c345f1c59a007b6b58c
Author: Andrea Faulds <ajf@ajf.me>
Date: S

Remove zpp fallback code (always use Fast ZPP)

Squashed commit of the following:

commit 3e27fbb3d22b42d181e15c345f1c59a007b6b58c
Author: Andrea Faulds <ajf@ajf.me>
Date: Sun Sep 11 19:14:37 2016 +0100

Keep dummy FAST_ZPP macro for compatibility

commit 8a7cfd00deaa4a3c5026c97580c49c886c72a5b4
Author: Andrea Faulds <ajf@ajf.me>
Date: Mon Sep 5 22:36:03 2016 +0100

Remove FAST_ZPP macro and plain zpp fallback code

show more ...


Revision tags: php-5.6.26RC1, php-7.1.0RC1, php-7.0.11RC1, php-7.1.0beta3, php-5.6.25, php-7.0.10
# 8a1fbdda 17-Aug-2016 Kalle Sommer Nielsen

Fixed C89 build


Revision tags: php-7.1.0beta2, php-5.6.25RC1, php-7.0.10RC1
# 6046acf9 23-Jul-2016 Bob Weinand

Fix ClosedGeneratorException possibly thrown into wrong scope


Revision tags: php-7.1.0beta1, php-5.6.24, php-7.0.9, php-5.5.38, php-5.6.24RC1, php-7.1.0alpha3, php-7.0.9RC1, php-7.1.0alpha2, php-7.0.8, php-5.6.23, php-5.5.37, php-5.6.23RC1, php-7.0.8RC1, php-7.1.0alpha1, php-5.6.22, php-5.5.36, php-7.0.7
# ccf18da4 12-May-2016 Dmitry Stogov

Eliminated checks for (func->op_array.fn_flags & ZEND_ACC_GENERATOR) in fast path of DO_FCALL* handlers.
This slightly improves calls to regular function and method calls in cost of a bit slower

Eliminated checks for (func->op_array.fn_flags & ZEND_ACC_GENERATOR) in fast path of DO_FCALL* handlers.
This slightly improves calls to regular function and method calls in cost of a bit slower generator initialization.
Separate call frame for generators, allocated on heap, now created by ZEND_GENERATOR_CREATE instruction.

show more ...


# 8a7a913a 11-May-2016 Dmitry Stogov

Use main VM stack for generators. Only single call frame for generator itself is allocated on heap, call frames for nested functions are allocated on main VM stack. In case "yield" used in context of

Use main VM stack for generators. Only single call frame for generator itself is allocated on heap, call frames for nested functions are allocated on main VM stack. In case "yield" used in context of another function call, call stack has to be frozen and then restored.

show more ...


Revision tags: php-5.6.22RC1, php-7.0.7RC1
# 2578d080 29-Apr-2016 Dmitry Stogov

Fixed compilation warnings


Revision tags: php-7.0.6
# 747a482b 28-Apr-2016 Dmitry Stogov

Don't initialize EX(call)->symbol_table on each function call.
Keep it uninitialized, and check ZEND_CALL_HAS_SYMBOL_TABLE flag when necessary.


# 6499162f 28-Apr-2016 Dmitry Stogov

- get rid of EG(scope). zend_get_executed_scope() should be used instead.
- ichanged zval_update_constant_ex(). Use IS_TYPE_IMMUTABLE flag on shared constants and AST, instead of "inline_change"

- get rid of EG(scope). zend_get_executed_scope() should be used instead.
- ichanged zval_update_constant_ex(). Use IS_TYPE_IMMUTABLE flag on shared constants and AST, instead of "inline_change" parameter.

show more ...


Revision tags: php-5.6.21, php-5.5.35
# 50853524 18-Apr-2016 Bob Weinand

Fix generator being a cycle to itself


Revision tags: php-5.6.21RC1, php-7.0.6RC1
# aad4eceb 07-Apr-2016 Nikita Popov

Fixed bug #71980


# e7730fec 04-Apr-2016 Dmitry Stogov

Fised possible use-after-free


# 7abfaac9 01-Apr-2016 Dmitry Stogov

Merge zend_execute_data->called_scope into zend_execute_data->This.
"called_scope" made sense only for static method calls, for dynamic calls it was always equal to the class of $this.
Now EG

Merge zend_execute_data->called_scope into zend_execute_data->This.
"called_scope" made sense only for static method calls, for dynamic calls it was always equal to the class of $this.
Now EG(This) may store IS_OBJECT + $this or IS_UNUSED + "called_scope" (of course, "called_scope" may be NULL).
Some code might need to be adopted to support this change.
Checks (Z_OBJ(EX(This))) might need to be converted into (Z_TYPE(EX(This)) == IS_OBJECT).

show more ...


# 86a1aeed 31-Mar-2016 Dmitry Stogov

Flags ZEND_CALL_RELEASE_THIS and ZEND_CALL_CLOSURE should never be set together.
Closures keep responsibility for releasing $this theirselves.


Revision tags: php-5.6.20, php-5.5.34, php-7.0.5
# 9583cb84 17-Mar-2016 Kalle Sommer Nielsen

Fix build


1234567891011