diff options
author | Gustavo Lopes <glopes@nebm.ist.utl.pt> | 2012-09-01 19:07:20 +0200 |
---|---|---|
committer | Gustavo Lopes <glopes@nebm.ist.utl.pt> | 2012-09-01 19:07:20 +0200 |
commit | 53351d087dfa94569a7a65b9f4167e8f0765e05a (patch) | |
tree | a4f1dfca7dfcc4ca02cb9f31d0f53f247e5161b6 /ext/reflection/php_reflection.c | |
parent | 7b5960b08577700275468b396ecccc6f962e0b70 (diff) | |
parent | dbc7809b1746ef5dd895e6cd369134cb5270ae0b (diff) | |
download | php-git-53351d087dfa94569a7a65b9f4167e8f0765e05a.tar.gz |
Merge branch 'generators'
* generators: (70 commits)
Fix typos
Fix segfault when traversing a by-ref generator twice
Make sure that exception is thrown on rewind() after closing too
Remove implementation stubs for yield delegation
Fix several issues and allow rewind only at/before first yield
Run finally if generator is closed before finishing
Finally with return now works in generators too
Add dedicated opcode for returns from a generator
Disallow serialization and unserialization
Fix zts build (typo)
Drop Generator::close() method
Forgot to add test
Support trivial finally in generators (no yield, no return)
Fix implementation of Iterator interface
Add T_YIELD in tokenizer_data.c
Throw error also for return occuring before yield
Fix throwing of exceptions within a generator
Remove reference restrictions from foreach
Require parenthesis around yield expressions
Add some more tests
...
Diffstat (limited to 'ext/reflection/php_reflection.c')
0 files changed, 0 insertions, 0 deletions