Felipe Pena
8454cca44c
- Fix memleak when passing a non string/object parameter
2010-06-03 00:43:37 +00:00
Felipe Pena
c4be9c3890
- Fixed bug #51905 (ReflectionParameter fails if default value is an array with an access to self::)
2010-05-26 00:00:58 +00:00
Felipe Pena
f3009cb596
- Fixed bug #51911 (ReflectionParameter::getDefaultValue() memory leaks with constant array)
2010-05-25 22:46:17 +00:00
Johannes Schlüter
4dc1cef4fe
Use php_error_docref instead of zend_error
2010-03-30 21:02:32 +00:00
Felipe Pena
03bec4299f
- Fixed tests
2010-03-06 23:58:35 +00:00
Hannes Magnusson
004a72ce1a
- The ctor requires both arguments
...
- Sync/fix ctor and export arguments to 5_2
2010-03-02 22:16:24 +00:00
Sebastian Bergmann
9ba1e81665
sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php
2010-01-03 09:23:27 +00:00
Felipe Pena
a94558c855
- Added MAKE_COPY_ZVAL(ppzv, pzv) macro
2009-12-08 01:57:37 +00:00
Felipe Pena
eea23b2794
- Fixed bug #50152 (ReflectionClass::hasProperty hehaves like isset() not property_exists)
...
[5_2 is OK]
2009-11-11 18:52:12 +00:00
Felipe Pena
8e91d46481
- Fixed bug #49719 (ReflectionClass::hasProperty returns true for a private property in base class)
2009-11-01 15:12:34 +00:00
Felipe Pena
8172c388b0
- Fix some arginfos (thanks Philip)
...
- Added arginfo info. for void params
2009-10-03 20:45:29 +00:00
Sebastian Bergmann
ceaf590530
Merge ReflectionMethod::setAccessible() to PHP 5.3.2, approved by Johannes.
2009-09-16 17:24:46 +00:00
Sebastian Bergmann
853c6de65b
Make invokeArgs() error messages consistent with invoke().
2009-09-03 14:02:51 +00:00
Zoe Slattery
4cc35aeaaf
The last of the 2009 testfest tests
2009-08-30 18:18:50 +00:00
Zoe Slattery
6a22ec3eda
More tests from 2009 testfest
2009-08-30 09:30:13 +00:00
Zoe Slattery
1c98e49afd
Test from 2009 testfest
2009-08-26 17:17:58 +00:00
Felipe Pena
c75f162165
- 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
adf8f72f14
- Fixed bug #49092 (ReflectionFunction fails to work with functions in fully qualified namespaces)
2009-08-01 01:45:22 +00:00
Jani Taskinen
0b03346bf8
- Added test for bug #49074
2009-08-01 01:01:43 +00:00
Jani Taskinen
edbf332cea
- Fixed bug #49074 (private class static fields can be modified by using reflection)
2009-08-01 00:48:04 +00:00
Kalle Sommer Nielsen
485f28aae9
MFH: Fixed #45280 (Reflection of instantiated COM classes causes PHP to crash) (Paul Richards, Kalle)
2009-07-01 18:44:56 +00:00
Kalle Sommer Nielsen
e536b2700a
MFH: Fixed memory leak if zero parameters are passed, Thanks Felipe
2009-07-01 17:43:16 +00:00
Kalle Sommer Nielsen
21d61978dc
MFH: Fixed bug #48757 (ReflectionFunction::invoke() parameter issues)
2009-07-01 17:38:03 +00:00
andy wharmby
54ba44da0a
Fix tests
2009-06-29 07:45:11 +00:00
Felipe Pena
f9bb99055e
- MFH: Fixed build (removed trailing comma) patch by Seiji Masugata <s.masugata at digicom.dnp.co.jp>
2009-06-16 14:33:33 +00:00
Arnaud Le Blanc
5c5dcf5e7a
MFH: 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:37 +00:00
Felipe Pena
9fa1e2d8a8
- MFH: Fixed bug #47254 (Wrong Reflection for extends class)
2009-04-27 19:48:45 +00:00
Sebastian Bergmann
03b1d4f876
MFH: Rename reflection*.phpt to Reflection*.phpt for consistency.
2009-04-08 16:09:16 +00:00
Sebastian Bergmann
03e48b1535
MFH: Fix issue reported by Roman Borschel.
2009-04-04 14:36:23 +00:00
Ilia Alshanetsky
c1effd8c7a
Block unused function
2009-04-02 21:30:09 +00:00
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