Commit Graph

96 Commits

Author SHA1 Message Date
Felipe Pena
9cfc5580f4 Fix test 2008-01-30 15:23:41 +00:00
Felipe Pena
8ca171f514 Fix tests 2008-01-30 11:56:34 +00:00
Felipe Pena
c31d0d112f Fixed Bug #43926 (isInstance() isn't equivalent to instanceof operator) 2008-01-30 10:54:41 +00:00
Marcus Boerger
0aaea797da - Fixed Bug #37964 (Reflection shows private methods of parent class)
(felipe@php.net)
2008-01-16 14:19:07 +00:00
Dmitry Stogov
1d9894a0c5 Added missing warning message 2008-01-10 09:38:41 +00:00
Steve Seear
261a88fc3a Adding PHPT tests for the ReflectionMethod class. 2008-01-03 09:07:56 +00:00
Steve Seear
8a76a81e47 Adding PHPT tests for the ReflectionProperty class. reflectionProperty_getValue_error.phpt and reflectionProperty_setValue_error.phpt are failing with behaviour that is inconsistent with PHP5_3. 2007-12-18 17:25:40 +00:00
Ilia Alshanetsky
8ef85b486a MFB: Fixed bug #42976 (Crash when constructor for newInstance() or
newInstanceArgs() fails)
2007-10-28 13:44:09 +00:00
Johannes Schlüter
610f70fcf5 - MFB: New ReflectionExtension::info() function to print the phpinfo() block
for an extension.
2007-07-24 23:16:47 +00:00
Zoe Slattery
2a8e9f9b50 reflectionObject tests 2007-07-12 21:08:02 +00:00
Antony Dovgal
0a0b078746 implement (or fix?) #41884 (ReflectionClass::getDefaultProperties() does not handle static attributes) 2007-07-11 22:03:59 +00:00
Zoe Slattery
fb148e4953 More reflectionClass tests 2007-07-11 20:16:43 +00:00
Zoe Slattery
a8b455aa5b Tests for reflectionClass 2007-07-10 16:21:26 +00:00
Zoe Slattery
6873ee8867 ReflectionClass constructor tests 2007-07-09 13:13:34 +00:00
Antony Dovgal
419c5b3db1 fix tests
add test for yet not merged fix
2007-04-26 23:42:36 +00:00
Johannes Schlüter
85910d510b - Add test 2007-04-12 18:31:57 +00:00
Antony Dovgal
1efa2ab3fc add new test and SKIPIF sections 2007-04-12 12:43:54 +00:00
Antony Dovgal
df2c656630 new test 2007-03-19 08:09:55 +00:00
Johannes Schlüter
a9d356663b - Fix string compare in unicode mode 2007-03-17 23:38:41 +00:00
Antony Dovgal
ec79b63d69 fix #40431 (dynamic properties may cause crash in ReflectionProperty methods) 2007-02-10 20:51:42 +00:00
Ilia Alshanetsky
2b23e4e205 MFB: Fixed bug #39884 (ReflectionParameter::getClass() throws exception for
type hint self).
2006-12-22 15:38:42 +00:00
Johannes Schlüter
0e58baae93 - Fix #38465 (ReflectionParameter fails if default value is an access to self:: 2006-10-18 16:34:25 +00:00
Dmitry Stogov
5e60e48f8a Unicode support. (Two more places must be fixed. Look for FIXME comments.) 2006-10-17 11:11:45 +00:00
Antony Dovgal
a92a070353 fix #39125 (Memleak when reflecting non-existing class/method) 2006-10-11 15:51:17 +00:00
Antony Dovgal
5d4259ff85 more improvements 2006-10-06 18:02:50 +00:00
Antony Dovgal
c65d3234cd fix #39067 (getDeclaringClass() and private properties) 2006-10-06 17:34:56 +00:00
Antony Dovgal
8e3f5c3a04 fix #39001 (ReflectionProperty returns incorrect declaring class for protected properties) 2006-10-02 12:15:47 +00:00
Hannes Magnusson
a357dfdbe7 Fix test
# failes atm though
2006-10-02 08:35:43 +00:00
Dmitry Stogov
59d0c16391 Fixed bug #38942 (Double old-style-ctor inheritance) 2006-09-26 07:55:54 +00:00
Antony Dovgal
19ac74fd23 fix tests 2006-09-19 12:06:49 +00:00
Antony Dovgal
5e17a28218 fix test 2006-09-12 10:44:18 +00:00
Antony Dovgal
dcbbae86eb fix #38653 (memory leak in ReflectionClass::getConstant()) 2006-08-30 10:41:43 +00:00
Dmitry Stogov
c62b08650b Fix usage of uninitialized value and unicode support 2006-07-27 09:19:26 +00:00
Ilia Alshanetsky
0e5b2b1e10 Added test for bug #38132 2006-07-26 23:32:07 +00:00
Antony Dovgal
8221909b21 fix bug #38217 (ReflectionClass::newInstanceArgs() tries to allocate too much memory) 2006-07-26 08:06:59 +00:00
Ilia Alshanetsky
abd9dc0bf2 MFB: Fixed bug #38194 (ReflectionClass::isSubclassOf() returns TRUE for the
class itself).
2006-07-25 12:36:29 +00:00
Marcus Boerger
18d45918bc - Fix bug #37816 ReflectionProperty does not throw exception when accessing protected attribute 2006-07-10 00:13:50 +00:00
Antony Dovgal
d254845aea no "native strings" in Unicode mode anymore 2006-04-22 23:50:29 +00:00
Marcus Boerger
9eebea0a45 - Fix tests 2006-03-13 22:59:36 +00:00
Marcus Boerger
946c955ce7 - Fix ReflectionParameter
. Reintroduce getClass()
  . Change getDeclaringClass() to return what it suggests
  . Add getDeclaringFunction()
  . Add getPosition()
# This also fixes Bug #36687 ReflectionParameter::getDeclaringClass returns
# wrong result
2006-03-12 15:34:46 +00:00
Marcus Boerger
352d4a6d8c - Prefix test names
- Add missing skipif
2006-03-12 12:11:22 +00:00
Johannes Schlüter
0f88ee56d0 - Fix description 2006-02-24 23:25:39 +00:00
Johannes Schlüter
cea8dd887b - Fix #29986 (Class constants won't work with predefined constants when
using ReflectionClass)
2006-02-24 23:08:36 +00:00
Ilia Alshanetsky
71a4f39d7b MFB51: Added test for bug #36434 2006-02-22 15:45:45 +00:00
Marcus Boerger
86f70099d0 - Fix text expectations 2006-02-21 00:49:51 +00:00
Marcus Boerger
3ac5297d8b - Add ReflectionProperty::getDefaultValue() 2006-02-21 00:37:39 +00:00
Dmitry Stogov
5e0b8cdb94 Fixed test files 2006-02-20 09:45:00 +00:00
Antony Dovgal
2c24249ccc add test for bug #36337 2006-02-14 09:46:45 +00:00
Ilia Alshanetsky
8af39b1461 MFB51: Added test for bug #36308 2006-02-09 18:18:42 +00:00
Marcus Boerger
0e42375ded - Implemented #36141 Add ReflectionClass::newInstanceArgs($args) 2006-01-24 20:19:49 +00:00