History log of /PHP-7.4/Zend/zend_generators.c (Results 151 – 175 of 241)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 7402af38 08-Apr-2014 Dmitry Stogov

Fixed destruction of objects and iterators on unclean request shutdown and GC (few cases are still unfixed).
Now we destroy objects it two steps. At first - object properties of all objects and o

Fixed destruction of objects and iterators on unclean request shutdown and GC (few cases are still unfixed).
Now we destroy objects it two steps. At first - object properties of all objects and only then the objects their selves.

show more ...


Revision tags: php-5.4.27, php-5.5.11
# ea85451b 27-Mar-2014 Dmitry Stogov

Refactored data structures to keep zend_object* instead of a whole zval in some places


# 24b72415 20-Mar-2014 Dmitry Stogov

Iterator has to be properly closed


# b7938ab1 19-Mar-2014 Dmitry Stogov

Refactored GC (incomplete)


Revision tags: php-5.5.11RC1, php-5.4.27RC1
# aa5f5530 17-Mar-2014 Dmitry Stogov

Refactored EG(active_symbol_table) to be zend_array* instead of HashTable*


# 9ebd9388 05-Mar-2014 Dmitry Stogov

Fixed Generator::throw()


Revision tags: php-5.5.10, php-5.4.26
# a5ce7d52 28-Feb-2014 Xinchen Hui

Revert "Move zend_objects_store_put out of zend_object_std_init"

This reverts commit 8ced4f0ac906fd9a28b968801487630326c45bc8.


# 8ced4f0a 28-Feb-2014 Xinchen Hui

Move zend_objects_store_put out of zend_object_std_init


# 3696e038 27-Feb-2014 Dmitry Stogov

Various fixes related to read_property(), read_dimension() and iterators refactoring


# 382b0dfd 27-Feb-2014 Xinchen Hui

Refactoring zend_iterator (incompleted)


Revision tags: php-5.6.0alpha3
# 495551aa 26-Feb-2014 Dmitry Stogov

Fixed iterators API. zend_iterator_init() has to be used in each get_iterator() callback.


# d062fb33 26-Feb-2014 Dmitry Stogov

Generator related fixes


Revision tags: php-5.4.26RC1, php-5.5.10RC1
# bb58ea34 18-Feb-2014 Dmitry Stogov

Use better data structures (incomplete)


# 4e66abad 12-Feb-2014 Dmitry Stogov

Use better data structures (incomplete) - refactored return_value handling


Revision tags: php-5.6.0alpha2
# f4cfaf36 10-Feb-2014 Dmitry Stogov

Use better data structures (incomplete)


Revision tags: php-5.5.9, php-5.4.25, php-5.5.9RC1, php-5.4.25RC1, php-5.6.0alpha1, php-5.5.8, php-5.4.24
# c081ce62 03-Jan-2014 Xinchen Hui

Bump year


# 47c90277 03-Jan-2014 Xinchen Hui

Bump year


Revision tags: php-5.4.24RC1, php-5.5.8RC1, php-5.5.7, php-5.4.23, php-5.3.28
# 02dca18b 01-Dec-2013 Nikita Popov

Fix bug #65764

I'm not exactly sure whether this is the right way to fix it. The
question is whether Generator::throw() on a newborn generator (i.e.
a generator that is not yet at yi

Fix bug #65764

I'm not exactly sure whether this is the right way to fix it. The
question is whether Generator::throw() on a newborn generator (i.e.
a generator that is not yet at yield expression) should first advance to
the first yield and throw the exception there or whether it should
instead throw the exception in the caller's context.

The old behavior was to throw it at the start of the function (i.e.
the very first opcode), which causes issues like the one in #65764.
Effectively it's impossible to properly handle the exceptions in this
case.

For now I choose the variant where the generator advances to the
first yield before throwing, as that's consistent with how all other
methods on the Generator object currently behave. This does not
necessarily match the behavior in other languages, e.g. Python would throw
the exception in the caller's context. But then our send() method already
has this kind of deviation, so it stays internally consistent at least.

show more ...


# b4f00be6 30-Nov-2013 Nikita Popov

Cleanup generator closing code a bit

All code dealing with unfinished execution cleanup is now in a separate
function (previously most of it was run even when execution was properly

Cleanup generator closing code a bit

All code dealing with unfinished execution cleanup is now in a separate
function (previously most of it was run even when execution was properly
finished.

Furthermore some code dealing with unclean shutdowns has been removed,
which is no longer necessary, because we no longer try to clean up in
this case.

show more ...


# 9589cae8 30-Nov-2013 Nikita Popov

Fixed bug #66041: list() fails to unpack yielded ArrayAccess object

Yield return values now use IS_VAR rather than IS_TMP_VAR. This
fixes the issue with list() and should also be faster

Fixed bug #66041: list() fails to unpack yielded ArrayAccess object

Yield return values now use IS_VAR rather than IS_TMP_VAR. This
fixes the issue with list() and should also be faster as it avoids
doing a zval copy.

show more ...


Revision tags: php-5.5.7RC1, php-5.4.23RC1, php-5.4.22, php-5.5.6, php-5.4.22RC1, php-5.5.6RC1, php-5.4.21, php-5.5.5, php-5.4.21RC1, php-5.5.5RC1
# 6b68f44e 29-Sep-2013 Nikita Popov

Fix bug #64979: Wrong behavior of static variables in closure generators


Revision tags: php-5.5.4, php-5.4.20
# bdfa03d7 14-Sep-2013 Nikita Popov

Save a TSRMLS_FETCH() for zval_ptr_dtor in executor

This gives me about 9% improvement on Zend/bench.php for a zts build.


Revision tags: php-5.5.4RC1, php-5.4.20RC1
# 47ee4709 26-Aug-2013 Nikita Popov

Make use of direct returns in some places


Revision tags: php-5.5.3, php-5.4.19, php-5.5.2, php-5.4.18, php-5.5.2RC1, php-5.4.18RC2, php-5.5.1, php-5.4.18RC1, php-5.3.27
# 6c4af15d 07-Jul-2013 Veres Lajos

typos (orig)


# b8a2b254 07-Jul-2013 Veres Lajos

typos (orig)


12345678910