History log of /PHP-7.0/Zend/zend_generators.c (Results 76 – 100 of 178)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 6bf24f4d 04-Jul-2014 Dmitry Stogov

Removed EG(active_symbol_table) and use corresponding value from EG(current_execute_data)


# c4d99ec9 02-Jul-2014 Dmitry Stogov

Removed EG(called_scope) and use corresponding value from EG(current_execute_data)


# 63c057e3 02-Jul-2014 Dmitry Stogov

Removed EG(opline_ptr) and use corresponding value from EG(current_execute_data)


# 4b09dd69 02-Jul-2014 Dmitry Stogov

Removed EG(active_op_array) and use corresponding value from EG(current_execute_data)


# 412ad4b2 02-Jul-2014 Dmitry Stogov

Uinified call frame handling for user and internal functions.
Now EG(current_execute_data) always point to the call frame of the currently executed function.


# d9ebd0f3 02-Jul-2014 Nikita Popov

Fix bug #67497: eval with parse error causes segfault in generator


Revision tags: php-5.6.0RC2
# b7715c7e 30-Jun-2014 Dmitry Stogov

Refactored parameter passing mechanism.

In PHP-5.6 and below each argument passed to user function was copies on VM stack twice.
Now we always have ZEND_INIT_FCALL (or simular) opcode th

Refactored parameter passing mechanism.

In PHP-5.6 and below each argument passed to user function was copies on VM stack twice.
Now we always have ZEND_INIT_FCALL (or simular) opcode that pushes "call frame" on top of VM stack.
"Call frame" is actually the same zend_execute_data structure.
All the following ZEND_SEND instructions push arguments on top of the stack in a way that they directly comes into corresponding CV variables of the called frame. Extra arguments are copied at the end of stack frame (after all CV and TMP variables) on function enterance.

There are two minor incompatibilities:
1) It's not allowed to decalre functions redefining arguments e.g. "function foo($a,$a) {}".
2) func_get_arg() and func_get args() return the current value of argument and not the original value that was sent.

show more ...


Revision tags: php-5.4.30, php-5.5.14, php-5.6.0RC1, php-5.5.14RC1, php-5.4.30RC1
# c1965f58 05-Jun-2014 Dmitry Stogov

Use reference counting instead of zval duplication


Revision tags: php-5.6.0beta4, php-5.4.29, php-5.5.13
# bc357eaf 25-May-2014 Xinchen Hui

Fixed apply_func_args_t


Revision tags: php-5.5.13RC1, php-5.6.0beta3, php-5.4.29RC1, php-5.6.0beta2, php-5.5.12, php-5.4.28
# 65e2ed6e 24-Apr-2014 Dmitry Stogov

Redesigned zend_execute_data layout now EX(object), EX(scope) and EX(called_scope) arr properties of the current function execution co
ntext. They are set during zend_execute_data initialization

Redesigned zend_execute_data layout now EX(object), EX(scope) and EX(called_scope) arr properties of the current function execution co
ntext. They are set during zend_execute_data initialization and never changed.

show more ...


# ea2e1bb1 18-Apr-2014 Dmitry Stogov

Optimized zend_leave_helper()


Revision tags: php-5.4.28RC1, php-5.5.12RC1, php-5.6.0beta1
# c99b7675 09-Apr-2014 Dmitry Stogov

Fixed generator destruction


# 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)


12345678