summaryrefslogtreecommitdiff
path: root/Zend/zend_closures.c
Commit message (Collapse)AuthorAgeFilesLines
* Happy New YearXinchen Hui2013-01-011-1/+1
|
* folderXinchen Hui2012-09-021-1/+1
|
* - Year++Felipe Pena2012-01-011-1/+1
|
* Fixed bug #60139 (Anonymous functions create cycles not detected by the GC)Dmitry Stogov2011-11-021-0/+12
|
* Fixed ZE specific compile warnings (Bug #55629)Dmitry Stogov2011-09-131-1/+1
|
* Commit Gustavo's closure rebinding patch as desided by voteStanislav Malyshev2011-09-071-25/+64
|
* Fixed bug #54367 (Use of closure causes problem in ArrayAccess).Dmitry Stogov2011-04-201-0/+1
|
* - Year++Felipe Pena2011-01-011-1/+1
|
* - Improved memory usageDmitry Stogov2010-09-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | . zend_function.pass_rest_by_reference is replaced by ZEND_ACC_PASS_REST_BY_REFERENCE in zend_function.fn_flags . zend_function.return_reference is replaced by ZEND_ACC_RETURN_REFERENCE in zend_function.fn_flags . zend_arg_info.required_num_args removed. it was needed only for internal functions. Now the first arg_info for internal function (which has special meaning) is represented by zend_internal_function_info structure. . zend_op_array.size, size_var, size_literal, current_brk_cont, backpatch_count moved into CG(context), because they are used only during compilation. . zend_op_array.start_op is moved into EG(start_op), because it's used only for 'interactive' execution of single top-level op-array. . zend_op_array.done_pass_two is replaced by ZEND_ACC_DONE_PASS_TWO in zend_op_array.fn_flags. . op_array.vars array is trimmed (reallocated) during pass_two. . zend_class_entry.constants_updated is replaced by ZEND_ACC_CONSTANTS_UPDATED in zend_class_entry.ce_flags . the size of zend_class_entry is reduced by sharing the same memory space by different information for internal and user classes. See zend_class_inttry.info union.
* - Fixed bug #52539 (Calling function from rebound Closure causes crash)Felipe Pena2010-08-081-0/+1
|
* Fixed issue with statics in traits.Stefan Marr2010-06-081-37/+0
| | | | | | #Please review this change, I moved the routine which copies statics from the closure code to zend_variables.c #Please also have a look to check whether the TSRMLS_DC is correct, and whether it fits with the rest in zend_variables, because there you are using some macro magic and I am not exactly sure what the reason is for that.
* fix ZTS buildAntony Dovgal2010-04-201-1/+1
|
* Changed the structure of op_array.opcodes. The constant values are moved ↵Dmitry Stogov2010-04-201-9/+9
| | | | from opcode operands into a separate literal table
* restore $this support for closures to its former gloryStanislav Malyshev2010-04-191-7/+116
|
* sed -i "s#1998-2009#1998-2010#g" **/*.c **/*.h **/*.phpSebastian Bergmann2010-01-051-1/+1
|
* - Fixed bug #50146 (property_exists: Closure object cannot have properties)Felipe Pena2009-11-111-1/+3
|
* Fix endless recursion of var_dump() over self-referencing closuresEtienne Kneuss2009-08-101-34/+45
|
* [DOC] Remove $this support in closures for PHP 5.3 beta 1Christian Seiler2009-01-261-43/+5
| | | | | | - Implementation notes here: http://wiki.php.net/rfc/closures/removal-of-this
* Reverted "Rebind closure when binding to property"Dmitry Stogov2009-01-141-20/+0
|
* - MFH - Set scope when copying a closure with a new this pointer.Marcus Boerger2009-01-041-0/+3
|
* - MFH Prevent instantiation from ReflectionMarcus Boerger2009-01-031-1/+14
|
* - MFH Fix refcountingMarcus Boerger2009-01-031-0/+6
|
* - MFH Rebind closure when binding to propertyMarcus Boerger2009-01-031-1/+12
|
* - MFH Add reflection support helpersMarcus Boerger2009-01-031-0/+14
|
* - fix build (declaration first please)Pierre Joye2009-01-021-1/+3
|
* - MFH Add var_dump support for closuresMarcus Boerger2009-01-011-0/+56
|
* MFH: Bump copyright year, 3 of 3.Sebastian Bergmann2008-12-311-1/+1
|
* MFH: Fix #46646 (Implement zend functions to restrict serialization or ↵Etienne Kneuss2008-12-221-16/+3
| | | | internal classes)
* Fixed bug #46409 (__invoke method called outside of object context when ↵Dmitry Stogov2008-11-271-7/+1
| | | | using array_map)
* Fixed possible crash because of overriden error handlerDmitry Stogov2008-09-171-1/+2
|
* MFH: Handlerify get_closureEtienne Kneuss2008-08-141-51/+33
|
* - WS (actually my falut)Marcus Boerger2008-08-111-1/+0
|
* - Made closures implementation reflection friendly (Christian)Dmitry Stogov2008-08-111-18/+25
| | | | | - Changed E_ERROR(s) into E_RECOVERABLE_ERROR(s) (Marcus)
* Disable closures serialization/unserializationDmitry Stogov2008-08-071-0/+16
|
* Removed Closure::__toString()Dmitry Stogov2008-07-311-21/+0
|
* Fixed bug #45608 (closures don't work in static methods)Dmitry Stogov2008-07-261-0/+1
|
* Fixed is_callable/call_user_func mess that had done different things for ↵Dmitry Stogov2008-07-261-33/+21
| | | | very similar arguments e.g. array("A","B") and "A::B"
* - MFH: Added TSRMLS_DC to apply_func_args_t and zend_hash_apply_with_arguments.Felipe Pena2008-07-241-3/+2
|
* wsJani Taskinen2008-07-221-9/+10
|
* Closure object cannot have propertiesDmitry Stogov2008-07-221-0/+41
|
* Fixed is_callable() to support closures and return appropriate function nameDmitry Stogov2008-07-141-1/+7
|
* Added support for lambda functions and closuresDmitry Stogov2008-07-141-0/+329