Commit Graph

362 Commits

Author SHA1 Message Date
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
Lars Strojny
45f85f3840 Reflection::getModifierNames()-test by Felix De Vliegher (Testfest) 2008-06-12 20:31:06 +00:00
Felipe Pena
5050450f79 - MFB: Fixed bug #45139 (ReflectionProperty returns incorrect declaring class) 2008-06-01 03:11:38 +00:00
Sebastian Bergmann
30a8d14fbc Drop SKIPIF check for ext/reflection. 2008-05-24 13:34:22 +00:00
Robin Fernandes
d2d61cac19 More basic ReflectionClass tests from Dutch TestFest. 2008-05-23 21:14:07 +00:00
Robin Fernandes
066a330877 Basic ReflectionClass tests (from Dutch TestFest) 2008-05-22 21:53:59 +00:00
Sebastian Bergmann
b5281c79b5 MFH: Add tests for ReflectionFunction::getExtension*(). 2008-05-11 04:57:09 +00:00
Antony Dovgal
a72b8f96ed fix build 2008-05-02 23:05:05 +00:00
Elizabeth Marie Smith
3adf07b5c6 Fix reflection (always static, never shared) and disable turning off pcre and spl (also always static, never shared) 2008-05-02 14:05:53 +00:00
Lars Strojny
0bc6920f66 Hard enabling it for Windows, readding define for UNIX [DOC] 2008-05-02 13:11:45 +00:00
Lars Strojny
7309946677 Hard enabling ext/reflection on UNIX too [DOC] 2008-05-02 13:05:42 +00:00
Antony Dovgal
c75658c477 MFH 2008-04-29 08:08:21 +00:00
Robin Fernandes
0455ccb805 Remove inconsistent behaviour when a protected static prop is overridden by public static prop (details: http://turl.ca/phhhf ). 2008-03-03 15:07:04 +00:00
Dmitry Stogov
ecc9778dc8 Made code opcode-cache friendly. (It is disallowed to change code during execution) 2008-02-18 14:30:44 +00:00
Derick Rethans
d161f4ec88 - Fixed speling. 2008-02-15 12:48:13 +00:00
Derick Rethans
a764d75d08 - Add the ReflectionProperty::setAccesible() method that allows non-public
property's values to be read through ::getValue().
#- [DOC]
2008-02-15 12:38:53 +00:00
Antony Dovgal
2fb4ea9c4f MFH 2008-02-15 09:35:53 +00:00
Felipe Pena
544f6dfd49 Fix test 2008-01-30 16:06:44 +00:00
Felipe Pena
6a2f085f1e Fix test 2008-01-30 14:49:20 +00:00
Felipe Pena
2c90b7127c Revert 2008-01-30 14:45:20 +00:00
Felipe Pena
b9df996a3b Fix the fix (isInstance - order of parameters) 2008-01-30 13:42:01 +00:00