Commit Graph

435 Commits

Author SHA1 Message Date
Felipe Pena
b8e946b02e - Fixed bug #62384 (Attempting to invoke a Closure more than once causes segfaul) 2012-06-22 12:05:29 -03:00
Xinchen Hui
1f5327a602 Fixed Bug #62202 (ReflectionParameter::getDefaultValue() memory leaks with constant) 2012-06-01 14:57:27 +08:00
Xinchen Hui
f733173b1f Fix typo while resolving conflicts 2012-05-23 13:43:49 +08:00
Xinchen Hui
a7df6ce664 Revert "Implemented FR #61602 Allow access to name of constant used as default value"
This reverts commit 054f3e3ce5.

See: http://news.php.net/php.cvs/69137 and the author confirmed.
Will commit later after the author fixed this then make a new PR.

Conflicts:

	ext/reflection/php_reflection.c
2012-05-23 13:39:00 +08:00
David Soria Parra
f7b10abae9 Replace $Revision$ with $Id$ in keyword expansion enable files 2012-03-20 17:53:47 +01:00
Gustavo André dos Santos Lopes
227112cb0f - Fixed bug #61388 (ReflectionObject:getProperties() issues invalid reads
when get_properties returns a hash table with (inaccessible) dynamic
  numeric properties).
2012-03-18 18:23:27 +00:00
Xinchen Hui
30f63e4152 Fixed bug #60968 (Late static binding doesn't work with ReflectionMethod::invokeArgs()) 2012-02-03 16:27:35 +00:00
Felipe Pena
e4ca0ed09f - Year++ 2012-01-01 13:15:04 +00:00
Xinchen Hui
fe96e8e64c Fixed bug #60367 (Reflection and Late Static Binding) 2011-11-24 09:16:11 +00:00
Felipe Pena
23e438594d - Make usage of new PHP_FE_END macro 2011-07-25 11:42:53 +00:00
Felipe Pena
9b1ba00a1e - Missing fix for bug #54347 2011-06-11 15:11:49 +00:00
Felipe Pena
60857e013b - Fixed bug #54347 (reflection_extension does not lowercase module function name)
patch by: laruence at yahoo dot com dot cn
2011-06-09 22:45:35 +00:00
Gustavo André dos Santos Lopes
e15dd93e7e - Simpler fix for bug #53915. 2011-02-03 12:45:30 +00:00
Gustavo André dos Santos Lopes
fac1e87171 - Fixed bug #53915: ReflectionClass::getConstant(s) emits fatal error on
constants with self::.
- Reflown some NEWS entries to have lines no longer than 80 chars.
2011-02-03 12:38:25 +00:00
Felipe Pena
927bf09c29 - Year++ 2011-01-01 02:19:59 +00:00
Johannes Schlüter
ac4f3422bc - Improve test 2010-11-21 12:28:10 +00:00
Johannes Schlüter
9ea04e1e46 - Fix #52854 (ReflectionClass::newInstanceArgs does not work for classes without constructors 2010-11-21 12:24:09 +00:00
Felipe Pena
1ac484d1a1 - Fixed bug #53366 (Reflection doesnt get dynamic property value from getProperty()) 2010-11-20 22:53:55 +00:00
Gustavo André dos Santos Lopes
b5b4f94a4c - Fixed ReflectionProperty::isDefault() giving a wrong result for properties
obtained with ReflectionClass::getProperties().
2010-10-26 18:47:10 +00:00
Felipe Pena
03df7fce82 - Fixed test 2010-09-09 21:46:29 +00:00
Felipe Pena
da3743b7b9 - Added missing void parameter checks 2010-08-21 16:09:18 +00:00
Felipe Pena
cb1d315b7d - Fix tests 2010-07-31 22:10:43 +00:00
Felipe Pena
4d3944f941 - Fixed bug #52057 (ReflectionClass fails on Closure class) 2010-06-11 23:37:55 +00:00
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