Commit Graph

454 Commits

Author SHA1 Message Date
Felipe Pena
d47dc13042 - Fixed ReflectionClass::getStaticProperties() to do not return the private properties from parent class;
behavior already adopted in ReflectionClass::getDefaultProperties() and ReflectionClass::getProperties().
2009-08-01 20:44:00 +00:00
Jani Taskinen
dd2876c396 - Fixed bug #49092 (ReflectionFunction fails to work with functions in fully qualified namespaces) 2009-08-01 01:45:22 +00:00
Jani Taskinen
a8470d2500 - Added test for bug #49074 2009-08-01 01:01:43 +00:00
Jani Taskinen
3088494349 - Fixed bug #49074 (private class static fields can be modified by using reflection) 2009-08-01 00:48:04 +00:00
Kalle Sommer Nielsen
3aae5bc9a1 Fixed #45280 (Reflection of instantiated COM classes causes PHP to crash) (Paul Richards, Kalle) 2009-07-01 18:44:16 +00:00
Kalle Sommer Nielsen
fddd5d940c Fixed memory leak if zero parameters are passed, Thanks Felipe 2009-07-01 17:42:48 +00:00
Kalle Sommer Nielsen
8f3fb7ec31 Fixed bug #48757 (ReflectionFunction::invoke() parameter issues) 2009-07-01 17:37:42 +00:00
andy wharmby
dd3adbaa20 Fix tests 2009-06-29 07:45:14 +00:00
Felipe Pena
8654130af4 - Fixed build (removed trailing comma) patch by Seiji Masugata <s.masugata at digicom.dnp.co.jp> 2009-06-16 14:29:18 +00:00
Felipe Pena
6d34e06a2f - Dropped *_TEXT* macros in favor of unicode macros direct usage 2009-05-25 14:32:15 +00:00
Arnaud Le Blanc
361f8c2655 Fixed bug #48336 (ReflectionProperty::getDeclaringClass() does not
work with redeclared property)
(patch by Markus dot Lidel at shadowconnect dot com)
2009-05-21 16:01:22 +00:00
Felipe Pena
cab1fb7ce1 - Fixed bug #47254 (Wrong Reflection for extends class) 2009-04-27 19:46:03 +00:00
Sebastian Bergmann
fa587effb7 Rename reflection*.phpt to Reflection*.phpt for consistency. 2009-04-08 16:08:58 +00:00
Sebastian Bergmann
607c0fb223 Fix issue reported by Roman Borschel. 2009-04-04 14:35:28 +00:00
Felipe Pena
8ecf8ede1f - Removed:
- UG(unicode) checks
       - pcre_cache_entry.unicode_mode
- Changed:
       - ZEND_STR_TYPE -> IS_UNICODE
       - convert_to_text -> convert_to_unicode
       - convert_to_text_ex -> convert_to_unicode_ex

(Felipe, Steph)
2009-03-26 20:02:53 +00:00
Dmitry Stogov
d3e3c4e666 Fixed bug #47664 (get_class returns NULL instead of FALSE) 2009-03-16 09:52:26 +00:00
Marcus Boerger
d4f5b3f0a9 - This is PHP 6 - if this ... ever gets out 2009-03-10 23:40:06 +00:00
Felipe Pena
ef7eb282fd - New parameter parsing
- Removed METHOD_NOTSTATIC_NUMPARAMS
2009-01-07 22:37:08 +00:00
Marcus Boerger
e8842dd235 - MFB Missing namespace changes
# Now all tests PASS again
2009-01-03 21:06:38 +00:00
Marcus Boerger
21b49d9ebb - Minor corrections and a new test 2009-01-03 20:40:22 +00:00
Marcus Boerger
30647d329b - MFB sync 2009-01-03 20:39:26 +00:00
Marcus Boerger
e83481cfb6 - Show closure's bound as static parameter 2009-01-03 20:03:45 +00:00
Marcus Boerger
9535ca53b1 - Return this pointer and not closure itself 2009-01-03 19:08:27 +00:00
Marcus Boerger
0544a489f5 - Add ReflectionFunctionAbstract::getClosureThis() 2009-01-03 19:02:06 +00:00
Marcus Boerger
87b355cb96 - Improved closure support 2009-01-03 14:20:07 +00:00
Marcus Boerger
4fb20017f6 - Small reordering 2009-01-03 12:27:43 +00:00
Marcus Boerger
0d02658eef - Add minimalistic closure support 2009-01-03 12:20:27 +00:00
Zoe Slattery
3385d8bda0 removing xfail sections as test passes 2008-12-31 20:43:52 +00:00
Marcus Boerger
1e5bb9d165 - MFB Use Revision instead of Id tag for version 2008-12-31 14:37:17 +00:00
Sebastian Bergmann
7f4dc8702a Bump copyright year, 3 of 3. 2008-12-31 11:12:40 +00:00
Sebastian Bergmann
eb33ee45cd Fix #46718: ReflectionProperty::setValue() and ReflectionProperty::setAccessible(). 2008-11-29 15:58:30 +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
Felipe Pena
6ac6838961 - Fixed bug #46604 (ReflectionClass::getProperty() fails) [only in this branch] 2008-11-21 23:32:50 +00:00
Ant Phillips
ddb2c05841 Reflection tests: checked on PHP 5.2.6, 5.3 and 6.0 (Windows, Linux and Linux 64 bit). 2008-11-18 15:37:57 +00:00
Ant Phillips
d7ed58db8b Commit tests for ext/reflection 2008-11-17 12:50:18 +00:00
Felipe Pena
43791516db - Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro (again!) 2008-11-17 11:26:25 +00:00
Hannes Magnusson
ee616e41dd Interfaces extend other interfaces, not implement 2008-11-14 19:22:09 +00:00
Felipe Pena
e006a89e71 - Revert ZEND_BEGIN_ARG_INFO change 2008-11-02 21:10:13 +00:00
Felipe Pena
fa5d6496f5 - Fixed char formatter 2008-10-29 13:01:44 +00:00
Felipe Pena
b90aaccbfd - Fixed bug #46064 (Exception when creating ReflectionProperty object on dynamicly created property) 2008-10-29 12:41:22 +00:00
Felipe Pena
7eb2715464 - Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro 2008-10-24 14:34:17 +00:00
Dmitry Stogov
292016006e Fixed bug #46205 (Closure - Memory leaks when ReflectionException is thrown) 2008-10-01 07:30:52 +00:00
Felipe Pena
7de23da81e - Removed unused arguments 2008-08-22 15:51:50 +00:00
Felipe Pena
fdc2ee256e - MFB: New parameter parsing API
- Fixed tests
2008-08-18 19:42:39 +00:00
Pierre Joye
1beb30e468 - move declaration on top and fix build error 2008-08-13 21:57:00 +00:00
Christian Seiler
d40f3ef30e - Fixed sefaults (tests added) 2008-08-11 22:30:44 +00:00
Marcus Boerger
044d27e802 - Cleanup 2008-08-11 19:34:49 +00:00
Felipe Pena
7ea60b6f45 - Fixed wrong check for dynamic properties 2008-08-11 13:35:49 +00:00
Felipe Pena
ebb797df4b - Fix build (ZTS) 2008-08-11 12:45:37 +00:00
Marcus Boerger
ae3641d90d - Closure/Reflection integration (original idea by Christian Seiler) 2008-08-11 12:36:01 +00:00