Commit Graph

25 Commits

Author SHA1 Message Date
Christian Seiler
c6d89bd4a8 [DOC] Remove $this support in closures for PHP 5.3 beta 1
- Implementation notes here:
  http://wiki.php.net/rfc/closures/removal-of-this
2009-01-26 22:54:34 +00:00
Dmitry Stogov
312176f083 Reverted "Rebind closure when binding to property" 2009-01-14 10:28:22 +00:00
Marcus Boerger
8e741674af - MFH - Set scope when copying a closure with a new this pointer. 2009-01-04 14:23:29 +00:00
Marcus Boerger
b5d15b2975 - MFH Prevent instantiation from Reflection 2009-01-03 19:29:55 +00:00
Marcus Boerger
b7bb8034b5 - MFH Fix refcounting 2009-01-03 18:22:20 +00:00
Marcus Boerger
0e131653c1 - MFH Rebind closure when binding to property 2009-01-03 17:48:40 +00:00
Marcus Boerger
d9a78a887f - MFH Add reflection support helpers 2009-01-03 12:25:59 +00:00
Pierre Joye
8d62f3dd02 - fix build (declaration first please) 2009-01-02 01:50:13 +00:00
Marcus Boerger
480fccce37 - MFH Add var_dump support for closures 2009-01-01 16:22:44 +00:00
Sebastian Bergmann
08659c2dcd MFH: Bump copyright year, 3 of 3. 2008-12-31 11:15:49 +00:00
Etienne Kneuss
f48d22afa1 MFH: Fix #46646 (Implement zend functions to restrict serialization or internal classes) 2008-12-22 14:11:49 +00:00
Dmitry Stogov
7d4fd3fd38 Fixed bug #46409 (__invoke method called outside of object context when using array_map) 2008-11-27 19:01:23 +00:00
Dmitry Stogov
df9b7a1fe0 Fixed possible crash because of overriden error handler 2008-09-17 13:08:54 +00:00
Etienne Kneuss
f90255c66b MFH: Handlerify get_closure 2008-08-14 21:36:56 +00:00
Marcus Boerger
1b7e862444 - WS (actually my falut) 2008-08-11 10:30:21 +00:00
Dmitry Stogov
a4a3ed44bb - Made closures implementation reflection friendly (Christian)
- Changed E_ERROR(s) into E_RECOVERABLE_ERROR(s) (Marcus)
2008-08-11 08:49:00 +00:00
Dmitry Stogov
ba15f6809d Disable closures serialization/unserialization 2008-08-07 13:35:51 +00:00
Dmitry Stogov
f02f9b0545 Removed Closure::__toString() 2008-07-31 07:10:33 +00:00
Dmitry Stogov
8b14236557 Fixed bug #45608 (closures don't work in static methods) 2008-07-26 14:15:19 +00:00
Dmitry Stogov
af05ce0af6 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:04 +00:00
Felipe Pena
0fbe6a0c14 - MFH: Added TSRMLS_DC to apply_func_args_t and zend_hash_apply_with_arguments. 2008-07-24 19:52:24 +00:00
Jani Taskinen
d10d4e48c3 ws 2008-07-22 07:44:41 +00:00
Dmitry Stogov
4d8bdd9d1b Closure object cannot have properties 2008-07-22 07:29:31 +00:00
Dmitry Stogov
0fa7fedfde Fixed is_callable() to support closures and return appropriate function name 2008-07-14 12:18:23 +00:00
Dmitry Stogov
d5ef2f466c Added support for lambda functions and closures 2008-07-14 09:49:03 +00:00