Commit Graph

445 Commits

Author SHA1 Message Date
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
Felipe Pena
0a735191e5 - Fixed bug #45765 (ReflectionObject with default parameters of self::xxx cause an error) 2008-08-11 00:46:14 +00:00
Felix De Vliegher
934dd2e326 MFB: Tests for ReflectionMethod::getClosure() and ReflectionFunction::getClosure() 2008-08-08 12:42:40 +00:00
Felix De Vliegher
a3d6855a85 MFB: Documentation fix for getClosure() 2008-08-08 10:53:39 +00:00
Antony Dovgal
21008970aa fix test 2008-07-29 08:48:46 +00:00
Antony Dovgal
bd5f8ace6e make ReflectionProperty::getValue() and ReflectionProperty::setValue() consistent with their implementations in 5_3 2008-07-29 08:48:16 +00:00
Antony Dovgal
3f754a5aff no need for FETCH anymore.. 2008-07-29 07:33:58 +00:00
Antony Dovgal
652018e18e more similar fixes 2008-07-29 07:32:52 +00:00
Antony Dovgal
d23d92e077 add TSRMLS_DC and fix crash in ZTS mode 2008-07-29 07:29:22 +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