Commit Graph

123 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
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
Sebastian Bergmann
2f49305bc8 MFH: Fix #46718: ReflectionProperty::setValue() and ReflectionProperty::setAccessible(). 2008-11-29 15:58:54 +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
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
b9c03aa4a5 - MFH: Fixed bug #46064 (Exception when creating ReflectionProperty object on dynamicly created property) 2008-10-29 12:56:29 +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
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
Felipe Pena
038373244b - MFH: New tests 2008-08-11 14:00:02 +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
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
Antony Dovgal
04c8373b6a MFH 2008-07-11 12:44:02 +00:00
Dmitry Stogov
216909ced7 Added support for namespaces 2008-06-25 12:33:46 +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
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
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
7ef18ce15d Fix tests 2008-01-30 11:43:10 +00:00
Felipe Pena
8452585fc8 Fixed Bug#43926 (isInstance() isn't equivalent to instanceof operator) 2008-01-30 10:27:28 +00:00
Marcus Boerger
626881d9e8 - MFH Fixed Bug #37964 (Reflection shows private methods of parent class)
(felipe@php.net)
2008-01-16 14:21:07 +00:00
Dmitry Stogov
ed8e2fa031 Added missing warning message 2008-01-10 09:38:23 +00:00
Steve Seear
af2dfe2e45 Adding PHPT tests for the ReflectionMethod class. 2008-01-03 09:07:07 +00:00
Steve Seear
f48e23c67f Adding PHPT tests for the ReflectionProperty class. 2007-12-18 17:21:55 +00:00
Ilia Alshanetsky
f0197278e0 Fixed bug #42976 (Crash when constructor for newInstance() or
newInstanceArgs() fails)
2007-10-28 13:42:24 +00:00
Johannes Schlüter
179c67a64b - New ReflectionExtension::info() function to print the phpinfo() block
for an extension. [DOC]
2007-07-24 23:15:58 +00:00
Zoe Slattery
55ff728d73 reflectionObject tests 2007-07-12 21:03:39 +00:00
Antony Dovgal
d3ac984385 MFH 2007-07-11 22:06:54 +00:00
Zoe Slattery
addad71048 More reflectionClass tests 2007-07-11 20:11:34 +00:00
Zoe Slattery
90fd8fd7e8 tests for reflectionClass 2007-07-10 16:25:15 +00:00
Zoe Slattery
4c22d54e23 ReflectionClass constructor tests 2007-07-09 13:22:10 +00:00