#
e3b2a5cf |
| 06-Dec-2012 |
Dmitry Stogov |
Generatirs are going to be used less than regular functions
|
Revision tags: php-5.3.20RC1 |
|
#
fa30e475 |
| 05-Dec-2012 |
Dmitry Stogov |
Slight performance improvement
|
Revision tags: php-5.4.10RC1 |
|
#
61dbf35c |
| 04-Dec-2012 |
Dmitry Stogov |
Moved zend_create_execute_data_from_op_array() implementation from zend_vm_execute.skl to zend_execute.c
|
#
7651d645 |
| 04-Dec-2012 |
Dmitry Stogov |
Optimized access to temporary and compiled VM variables
|
#
70f83f35 |
| 30-Nov-2012 |
Dmitry Stogov |
. The VM stacks for passing function arguments and syntaticaly nested calls were merged into a single stack. The stack size needed for op_array execution is calculated at compile time and preallocate
. The VM stacks for passing function arguments and syntaticaly nested calls were merged into a single stack. The stack size needed for op_array execution is calculated at compile time and preallocated at once. As result all the stack push operatins don't require checks for stack overflow any more. . Generators implementation was improved using the new VM stack. Now it's a bit more clear and faster.
show more ...
|
#
eb4825b5 |
| 22-Nov-2012 |
Dmitry Stogov |
Improved "finally" im[plementation
|
Revision tags: php-5.3.19, php-5.4.9, php-5.5.0alpha1, php-5.3.19RC1, php-5.4.9RC1 |
|
#
7bcb8780 |
| 04-Nov-2012 |
Xinchen Hui |
Fixed bug #63428 (The behavior of execute() changed)
|
Revision tags: php-5.3.18, php-5.4.8 |
|
#
531e2533 |
| 05-Oct-2012 |
Stanislav Malyshev |
Use zend_execute_internal always to call internal functions
|
Revision tags: php-5.3.18RC1, php-5.4.8RC1 |
|
#
592b232e |
| 27-Sep-2012 |
Nikita Popov |
Fix bug #63173: Crash when invoking invalid array callback The code did not check whether the zend_hash_index_find calls succeded, so PHP crashed when an array callback was called that c
Fix bug #63173: Crash when invoking invalid array callback The code did not check whether the zend_hash_index_find calls succeded, so PHP crashed when an array callback was called that contains two elements which don't have the indices 0 and 1.
show more ...
|
#
fd0b3ea6 |
| 19-Sep-2012 |
Xinchen Hui |
Fixed bug #61442 (exception threw in __autoload can not be catched)
|
#
a47c11a1 |
| 16-Sep-2012 |
Nikita Popov |
Fix two op_array -> function cast warnings
|
#
fb03ce93 |
| 16-Sep-2012 |
Nikita Popov |
Fix invalid read / remove useless code Generators follow a different cleanup path, so the extra check for freeing the execute_data is unnecessary there. It actually caused problems becau
Fix invalid read / remove useless code Generators follow a different cleanup path, so the extra check for freeing the execute_data is unnecessary there. It actually caused problems because op_array->fn_flags could be in freed memory at that time (in case op_array came from a closure in an ArrayAccess container). This fixes the valgrind warning in Zend/tests/bug54367.phpt.
show more ...
|
Revision tags: php-5.3.17, php-5.4.7 |
|
#
dffffdeb |
| 01-Sep-2012 |
Nikita Popov |
Fix leak when yielding array as key The code was copy-pasted and I forgot to change OP1 to OP2 in that one place.
|
Revision tags: php-5.4.7RC1 |
|
#
bd70d155 |
| 25-Aug-2012 |
Nikita Popov |
Remove implementation stubs for yield delegation I decided to leave out yield delegation for an initial proposal, so remove the stubs for it too.
|
#
f53225a9 |
| 25-Aug-2012 |
Nikita Popov |
Fix several issues and allow rewind only at/before first yield * Trying to resume a generator while it is already running now throws a fatal error. * Trying to use yield in fina
Fix several issues and allow rewind only at/before first yield * Trying to resume a generator while it is already running now throws a fatal error. * Trying to use yield in finally while the generator is being force-closed (by GC) throws a fatal error. * Rewinding after the first yield now throws an Exception
show more ...
|
#
326aa087 |
| 25-Aug-2012 |
Xinchen Hui |
Prefer no finally block for most situations
|
#
68c1e1cf |
| 24-Aug-2012 |
Nikita Popov |
Add dedicated opcode for returns from a generator Generators don't have a return value, so it doesn't make sense to have a shared implementation here.
|
#
60a29791 |
| 22-Aug-2012 |
Xinchen Hui |
Fixed bug that jmp in try block jmp over finally block Refactor the implemention, make codes clear
|
#
703a4e39 |
| 22-Aug-2012 |
Xinchen Hui |
stash
|
#
72b9b8f3 |
| 18-Aug-2012 |
Xinchen Hui |
Make the codes clearer, and also check continue statement
|
Revision tags: php-5.3.16, php-5.4.6 |
|
#
c64f4e73 |
| 14-Aug-2012 |
Xinchen Hui |
Add functions declarations, use tabs
|
#
baea290b |
| 13-Aug-2012 |
Anatoliy Belsky |
fix windows build
|
#
ae716939 |
| 13-Aug-2012 |
Nikita Popov |
Support trivial finally in generators (no yield, no return) The finally clause is now properly run when an exception is thrown in the try-block. It is not yet run on `return` and also no
Support trivial finally in generators (no yield, no return) The finally clause is now properly run when an exception is thrown in the try-block. It is not yet run on `return` and also not run when the generator is claused within a try block. I'll add those two things as soon as laruence refactored the finally code.
show more ...
|
#
80d5ae3c |
| 13-Aug-2012 |
Xinchen Hui |
Implemented 'finally' keywords for php RFC: https://wiki.php.net/rfc/finally FR: https://bugs.php.net/bug.php?id=32100 and I have got some improvment ideas(performance), will impleme
Implemented 'finally' keywords for php RFC: https://wiki.php.net/rfc/finally FR: https://bugs.php.net/bug.php?id=32100 and I have got some improvment ideas(performance), will implemented later. thanks
show more ...
|
Revision tags: php-5.4.6RC1 |
|
#
eae06100 |
| 26-Jul-2012 |
Xinchen Hui |
Fixed bug #62653: (unset($array[$float]) causes a crash) the reason why jpauli and I can not reproduce is (it's silly): I typo "USE_ZEND_ALLOC *&&* valgrind" at the first time, then I al
Fixed bug #62653: (unset($array[$float]) causes a crash) the reason why jpauli and I can not reproduce is (it's silly): I typo "USE_ZEND_ALLOC *&&* valgrind" at the first time, then I always ctrl+r and jpauli copied my command from the pastbin :) thanks
show more ...
|