Commit Graph

26 Commits

Author SHA1 Message Date
Dmitry Stogov
7106659cfa Reverted "Rebind closure when binding to property" 2009-01-14 10:28:40 +00:00
Marcus Boerger
f408bcef15 - Set scope when copying a closure with a new this pointer. 2009-01-04 14:22:51 +00:00
Marcus Boerger
c20bde9779 - Prevent instantiation from Reflection 2009-01-03 19:29:04 +00:00
Marcus Boerger
12f279c43a - Fix refcounting 2009-01-03 18:21:51 +00:00
Marcus Boerger
9cc9a1107b - Rebind closure when binding to property 2009-01-03 17:46:25 +00:00
Marcus Boerger
58c8ce970b - Fix vim blocks and add missing comment 2009-01-03 12:24:30 +00:00
Marcus Boerger
de5a4f7dfa - Add reflection helpers 2009-01-03 12:19:30 +00:00
Pierre Joye
b301ee4c5e - MFB: fix build (declaration first please) 2009-01-02 01:52:21 +00:00
Marcus Boerger
25cec568db - Add var_dump support for closures 2009-01-01 16:21:07 +00:00
Sebastian Bergmann
7f4dc8702a Bump copyright year, 3 of 3. 2008-12-31 11:12:40 +00:00
Etienne Kneuss
4e5c7990ce Fix #46646 (Implement zend functions to restrict serialization or internal classes) 2008-12-22 13:50:43 +00:00
Dmitry Stogov
e5454b359a Fixed bug #46409 (__invoke method called outside of object context when using array_map) 2008-11-27 19:02:45 +00:00
Dmitry Stogov
d083b068ce Fixed possible crash because of overriden error handler 2008-09-17 13:10:08 +00:00
Etienne Kneuss
6423606a63 Handlerify get_closure 2008-08-14 21:26:05 +00:00
Dmitry Stogov
5564a4c90f - Made closures implementation reflection friendly (Christian)
- Changed E_ERROR(s) into E_RECOVERABLE_ERROR(s) (Marcus)
2008-08-11 08:49:14 +00:00
Dmitry Stogov
4571bd883a Disable closures serialization/unserialization 2008-08-07 13:36:13 +00:00
Dmitry Stogov
bc8defa547 Removed Closure::__toString() 2008-07-31 07:10:43 +00:00
Dmitry Stogov
2d49dc63e6 Fixed bug #45608 (closures don't work in static methods) 2008-07-26 14:15:44 +00:00
Dmitry Stogov
bdf7981e28 Fixed is_callable/call_user_func mess that had done different things for very similar arguments e.g. array("A","B") and "A::B" 2008-07-26 13:14:56 +00:00
Felipe Pena
8e1b4a55cc - Added TSRMLS_DC to apply_func_args_t and zend_hash_apply_with_arguments. 2008-07-24 19:50:23 +00:00
Jani Taskinen
705062e76a ws 2008-07-22 07:39:40 +00:00
Dmitry Stogov
0255d8d5f4 Closure object cannot have properties 2008-07-22 07:29:14 +00:00
Dmitry Stogov
84625f5e7e Fixed is_callable() to support closures and return appropriate function name 2008-07-14 12:17:16 +00:00
Dmitry Stogov
4d58b64a89 Fixed unicode support 2008-07-10 07:55:48 +00:00
Dmitry Stogov
36ec3480cf Closure::__invoke() is fixed to support references 2008-07-08 16:15:08 +00:00
Dmitry Stogov
8d2e0a7e0f Added closures support 2008-07-08 07:05:04 +00:00