History log of /PHP-8.4/Zend/zend_generators.c (Results 151 – 175 of 300)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# a812a74c 03-Jul-2015 Aaron Piotrowski

Change zend_exception_get_default() to zend_exception_ce


Revision tags: php-5.6.11RC1, php-5.5.27RC1
# 41774bce 23-Jun-2015 Rasmus Lerdorf

Fix more minor mistakes in the proto comments


# ea5c66ec 23-Jun-2015 Nikita Popov

Avoid op_num = -1 in unfinished generator cleanup

Also add two tests showing that the -1 substraction in the
computation of op_num is really necessary.


Revision tags: php-7.0.0alpha2
# f58ebb36 20-Jun-2015 Nikita Popov

Load/restore VM stack before unfinished generator cleanup


# ddf41d3a 20-Jun-2015 Nikita Popov

Fix generator memory leak

Make sure HANDLE_EXCEPTION and generator unwinds stay in sync in
the future by extracting a common function.


# 1c754f0b 12-Jun-2015 Dmitry Stogov

Get rid of more ZVAL_ZVAL() macros


# 8e10e8f9 12-Jun-2015 Dmitry Stogov

Avoid zval duplication in ZVAL_ZVAL() macro (it was necessary only in few places).
Switch from ZVAL_ZVAL() to simpler macros where possible (it makes sense to review remaining places)


# 84052655 11-Jun-2015 Nikita Popov

Fix bug #69740


Revision tags: php-5.5.26, php-7.0.0alpha1, php-5.6.10, php-5.4.42, POST_PHP7_NSAPI_REMOVAL, PRE_PHP7_NSAPI_REMOVAL, php-5.6.10RC1, php-5.5.26RC1
# c6a6b974 14-May-2015 Bob Weinand

Fix memleak in generators using symtable


Revision tags: php-5.5.25, php-5.6.9, php-5.4.41
# bdbe1210 07-May-2015 Dmitry Stogov

Fixed $this release


Revision tags: php-5.6.9RC1, php-5.5.25RC1
# 4376373d 21-Apr-2015 Bob Weinand

Fix yield from with iterator (first element missing)


# 9a0cb734 17-Apr-2015 Nikita Popov

Fix memory error when throwing into a generator

throw_exception_internal will access opline+1, which is not always
defined at the current opline of the generator. To avoid this
decre

Fix memory error when throwing into a generator

throw_exception_internal will access opline+1, which is not always
defined at the current opline of the generator. To avoid this
decrement the opline before throwing (so the throw occurs at the
YIELD opcode instead of one after it).

show more ...


# a759967d 16-Apr-2015 Dmitry Stogov

Mark call frames to closures with ZEND_CALL_CLOSURE flag to avoid expensive check at zend_leave_helper()


# 4e76d58b 15-Apr-2015 Bob Weinand

Fix object leak for yield from (added proper refcounting)


Revision tags: php-5.6.8, php-5.5.24, php-5.4.40
# fc378a60 08-Apr-2015 Nikita Popov

Fix leak of closure used as generator

Also remove obsolete code for copying the closure op_array. It
should no longer be possible for the closure object to be destroyed
while the gen

Fix leak of closure used as generator

Also remove obsolete code for copying the closure op_array. It
should no longer be possible for the closure object to be destroyed
while the generator is still live.

show more ...


# 18f3d549 01-Apr-2015 Dmitry Stogov

Convert fatal error into EngineException


# acfc31c0 01-Apr-2015 Dmitry Stogov

Use zend_error_noreturn() for fatal errors


Revision tags: php-5.6.8RC1, php-5.5.24RC1, php-5.6.7, php-5.5.23, php-5.4.39, php-5.6.7RC1, php-5.5.23RC1, POST_PHP7_EREG_MYSQL_REMOVALS, PRE_PHP7_EREG_MYSQL_REMOVALS
# 5c230baf 19-Feb-2015 Nikita Popov

Implement Generator::getReturn()

Conflicts:
Zend/zend_vm_execute.h


# a9d73f06 11-Mar-2015 Nikita Popov

Fixed bug #69221

A generator iterator can be created from different zvals - use
the object handle to manage references instead.


# a30d3286 10-Mar-2015 Dmitry Stogov

Errors converted to exceptions are not "recoverable" anymore.


# 1c94ff05 09-Mar-2015 Dmitry Stogov

Implement engine exceptions

RFC: https://wiki.php.net/rfc/engine_exceptions_for_php7

Pending changes regarding naming of BaseException and whether it
should be an interface.


# b4a142ab 06-Mar-2015 Bob Weinand

Added yield from operator


# fcdb6e08 20-Feb-2015 Nikita Popov

WIP


# 5f76eed1 20-Feb-2015 Dmitry Stogov

don't count op_arrays stored in opcache SHM


# 79f26e9c 19-Feb-2015 Nikita Popov

Implement Generator::getReturn()


12345678910>>...12