Commit Graph

382 Commits

Author SHA1 Message Date
Christian Seiler
63ee3c98a8 Fixed regression of bug #46205, thanks to felipe for pointing this out. 2009-02-01 15:06:19 +00:00
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
Felipe Pena
15851cd771 MFH:
- New parameter parsing
- Removed METHOD_NOTSTATIC_NUMPARAMS
2009-01-07 22:40:17 +00:00
Marcus Boerger
7c8c0414e1 - MFH Minor corrections and a new test 2009-01-03 20:41:01 +00:00
Marcus Boerger
4ffc3235e3 - MFH Show closure's bound as static parameter 2009-01-03 20:04:22 +00:00
Marcus Boerger
12df96e0de MFH
- Add ReflectionFunctionAbstract::getClosureThis()
[DOC]
# Returns the this pointer bound to the closure is the relection object
# points to closure. Since not all closures have a bound this, the method
# cannot be used to differentiate between normal functions/methods and
# closures. Instead ReflectionFunctionAbstract::isClosure() has to be used.
2009-01-03 19:08:47 +00:00
Marcus Boerger
7ca830742e - MFH Improved closure support 2009-01-03 14:20:22 +00:00
Marcus Boerger
4490ca3104 - MFH Add minimalistic closure support 2009-01-03 12:39:27 +00:00
Marcus Boerger
88ca8e7279 - Use Revision instead of Id tag for version 2008-12-31 14:36:27 +00:00
Sebastian Bergmann
08659c2dcd MFH: Bump copyright year, 3 of 3. 2008-12-31 11:15:49 +00:00
Sebastian Bergmann
2f49305bc8 MFH: Fix #46718: ReflectionProperty::setValue() and ReflectionProperty::setAccessible(). 2008-11-29 15:58:54 +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
Ant Phillips
4126370491 Reflection tests: checked on PHP 5.2.6, 5.3 and 6.0 (Windows, Linux and Linux 64 bit). 2008-11-18 15:36:48 +00:00
Ant Phillips
0b79202140 Commit tests for ext/reflection 2008-11-17 12:26:43 +00:00
Felipe Pena
fc2fb50d09 - MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro 2008-11-17 11:28:01 +00:00
Hannes Magnusson
dd9e9f26e2 MFH: Interfaces extend other interfaces, not implement 2008-11-14 19:22:43 +00:00
Felipe Pena
39b1f65aab - Fixed tests 2008-11-13 01:49:51 +00:00
Marcus Boerger
7126de4912 - Next step in namespaces, using / as namespace separator. 2008-11-04 15:58:55 +00:00
Felipe Pena
7a37fa2d6b - Revert ZEND_BEGIN_ARG_INFO change 2008-11-02 21:19:39 +00:00
Felipe Pena
b9c03aa4a5 - MFH: Fixed bug #46064 (Exception when creating ReflectionProperty object on dynamicly created property) 2008-10-29 12:56:29 +00:00
Felipe Pena
df10005563 - MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro 2008-10-24 14:35:40 +00:00
Dmitry Stogov
f656c6fc70 Fixed bug #46205 (Closure - Memory leaks when ReflectionException is thrown) 2008-10-01 07:30:31 +00:00
Felipe Pena
9d5ab6e54f - MFH: Removed unused arguments 2008-08-22 15:54:21 +00:00
Felipe Pena
c89c62047c - Fixed test 2008-08-18 19:49:33 +00:00
Christian Seiler
066ea4f66c MFH: Fixed segfaults (tests added) 2008-08-11 22:31:22 +00:00
Marcus Boerger
6d083e2c39 - Cleanup 2008-08-11 19:35:00 +00:00
Felipe Pena
038373244b - MFH: New tests 2008-08-11 14:00:02 +00:00
Felipe Pena
301af6d4a9 - MFH: has_property check 2008-08-11 13:56:24 +00:00
Felipe Pena
e82568d9e4 - Fix build (ZTS) 2008-08-11 12:48:22 +00:00
Marcus Boerger
05d896cce9 - MFH Closure/Reflection integration (original idea by Christian Seiler) 2008-08-11 12:43:21 +00:00
Felipe Pena
18d07065c0 - MFH: Fixed bug #45765 (ReflectionObject with default parameters of self::xxx cause an error) 2008-08-11 00:47:45 +00:00
Felix De Vliegher
3b2da467e7 Tests for ReflectionMethod::getClosure() and ReflectionFunction::getClosure() 2008-08-08 12:39:16 +00:00
Felix De Vliegher
06bcec0698 Documentation fix for getClosure() 2008-08-08 10:52:48 +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
Dmitry Stogov
ac68c41f8d Fixed support for static methods 2008-07-25 09:44:47 +00:00
Dmitry Stogov
176ebc26ea Fixed uninitialized data 2008-07-25 08:50:55 +00:00
Antony Dovgal
a46319d86d fix typos 2008-07-25 08:45:09 +00:00
Dmitry Stogov
691d4a6999 Fixed uninitialised data 2008-07-25 08:23:07 +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
Felipe Pena
a83e976857 - Fixed bug #45571 (ReflectionClass::export() shows superclasses' private static methods.)
patch by Robin Fernandes
2008-07-20 16:51:28 +00:00
Dmitry Stogov
d5ef2f466c Added support for lambda functions and closures 2008-07-14 09:49:03 +00:00
Antony Dovgal
04c8373b6a MFH 2008-07-11 12:44:02 +00:00
Dmitry Stogov
b872c30c85 ws 2008-06-27 06:43:21 +00:00
Dmitry Stogov
216909ced7 Added support for namespaces 2008-06-25 12:33:46 +00:00
Pierre Joye
c9ec9fed7b - set PHP_[EXTNAME] to yes for spl, pcre and reflection (always on), this variable is required by ADD_EXTENSION_DEP 2008-06-23 10:22:42 +00:00
Felipe Pena
bee6c52437 - New parameter parsing API 2008-06-21 02:41:27 +00:00
Lars Strojny
709ac7c21f Testfest: various tests for ReflectionParameter 2008-06-12 21:41:21 +00:00
Lars Strojny
f2326fbed0 Testfest test cases for ReflectionExtension 2008-06-12 21:25:08 +00:00
Lars Strojny
5a241ddfe0 Testfest: ReflectionExtension tests by Gerrit te Sligte and Leon Luijkx 2008-06-12 20:55:38 +00:00
Lars Strojny
c26c072cba Testfest: ReflectionExtension::info()-test by Stefan Koopmanschap 2008-06-12 20:46:23 +00:00