1
0
mirror of https://github.com/php/php-src.git synced 2026-04-26 09:28:21 +02:00
Commit Graph

100 Commits

Author SHA1 Message Date
Felipe Pena caa28c2a22 - Fixed bug #49719 (ReflectionClass::hasProperty returns true for a private property in base class) 2009-11-01 15:12:34 +00:00
Sebastian Bergmann d9eeb2e6e6 Make invokeArgs() error messages consistent with invoke(). 2009-09-03 14:02:51 +00:00
Zoe Slattery 28c5f6948b More tests from 2009 testfest 2009-08-30 09:30:13 +00:00
Zoe Slattery 7e791e6e19 Test from 2009 testfest 2009-08-26 17:17:58 +00:00
Felipe Pena a4a09a00ab - 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 1679a25308 - Added test for bug #49074 2009-08-01 01:01:43 +00:00
andy wharmby ceee572c0b Fix tests 2009-06-29 07:45:12 +00:00
Arnaud Le Blanc 415b75e3f5 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:05:11 +00:00
Jani Taskinen b6b8b5ffc6 - SPL can be disabled in PHP_5_2 2009-05-02 18:02:09 +00:00
Felipe Pena ff12af6133 - MFH: Fixed bug #47254 (Wrong Reflection for extends class) 2009-04-27 19:54:35 +00:00
Sebastian Bergmann 7aea024b69 MFH: Rename reflection*.phpt to Reflection*.phpt for consistency. 2009-04-08 16:09:30 +00:00
Ant Phillips dfd31ff703 Reflection tests: checked on PHP 5.2.6, 5.3 and 6.0 (Windows, Linux and Linux 64 bit). 2008-11-18 15:36:32 +00:00
Ant Phillips 29023692ce Commit tests for ext/reflection 2008-11-17 11:20:19 +00:00
Felipe Pena a04ec69406 - MFH: Fixed bug #46064 (Exception when creating ReflectionProperty object on dynamicly created property) 2008-10-29 13:34:08 +00:00
Christian Seiler b9ab70c0d2 - Fixed segmentation fault (test added) 2008-08-11 22:08:58 +00:00
Felipe Pena e0e1648359 - MFH: Fixed bug #45765 (ReflectionObject with default parameters of self::xxx cause an error) 2008-08-11 00:50:03 +00:00
Felipe Pena fba1e9d0c5 - Fixed bug #45139 (ReflectionProperty returns incorrect declaring class) 2008-06-01 03:08:59 +00:00
Sebastian Bergmann 3bf703845f MFH: Add tests for ReflectionFunction::getExtension*(). 2008-05-11 04:57:27 +00:00
Steve Seear 425646f98b Adding PHPT tests for the ReflectionMethod class. 2008-01-03 09:06:08 +00:00
Steve Seear fd81f61e0d Adding PHPT tests for the ReflectionProperty class. 2007-12-18 17:20:05 +00:00
Ilia Alshanetsky 39f1f2fcd3 MFB: Fixed bug #42976 (Crash when constructor for newInstance() or
newInstanceArgs() fails)
2007-10-28 13:47:14 +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
Antony Dovgal 66859a74de fix tests 2007-04-26 23:30:00 +00:00
Johannes Schlüter bbcd8c5b69 - Fix bug #41061 ("visibility error" in ReflectionFunction::export()) 2007-04-12 18:39:46 +00:00
Antony Dovgal c668dc0a26 add missing SKIPIF sections 2007-04-12 12:29:48 +00:00
Antony Dovgal 9788d96b0c add new test 2007-04-12 12:23:30 +00:00
Antony Dovgal ddc07c90b6 new test 2007-03-19 08:11:14 +00:00
Antony Dovgal 9c100b20e6 MFH 2007-02-10 20:52:42 +00:00
Ilia Alshanetsky 72895cda6d Fixed bug #39884 (ReflectionParameter::getClass() throws exception for type
hint self).
2006-12-22 15:37:48 +00:00
Johannes Schlüter dcf249004c - MFH: Fix #38465 (ReflectionParameter fails if default value is an access to self:: 2006-10-18 16:35:15 +00:00
Antony Dovgal aeec5b4b68 MFH: fix #39125 (Memleak when reflecting non-existing class/method) 2006-10-11 15:52:56 +00:00
Antony Dovgal 3a4603b4b0 more improvements 2006-10-06 18:03:19 +00:00
Antony Dovgal d917bf084c MFH: fix #39067 (getDeclaringClass() and private properties) 2006-10-06 17:35:32 +00:00
Antony Dovgal c356ad3b65 MFH: #39001 (ReflectionProperty returns incorrect declaring class for protected properties) 2006-10-02 12:16:35 +00:00
Hannes Magnusson b806546e95 Fix test
#failes atm...
2006-10-02 08:36:35 +00:00
Dmitry Stogov a04b6ed6bc Fixed bug #38942 (Double old-style-ctor inheritance) 2006-09-26 07:55:21 +00:00
Antony Dovgal 7b588b5bcd fix test 2006-09-12 10:42:32 +00:00
Antony Dovgal 86bf55a3d8 MFH: fix #38653 (memory leak in ReflectionClass::getConstant()) 2006-08-30 10:42:49 +00:00
Ilia Alshanetsky 7b409b2276 Improved fix for bug #38132 2006-07-26 23:18:41 +00:00
Antony Dovgal 65626296da MFH: fix bug #38217 (ReflectionClass::newInstanceArgs() tries to allocate too much memory) 2006-07-26 08:03:48 +00:00
Ilia Alshanetsky e11e2a137c Fixed bug #38132 (ReflectionClass::getStaticProperties() retains \0 in key
names).
2006-07-25 14:06:52 +00:00
Ilia Alshanetsky bd581ab476 Fixed bug #38194 (ReflectionClass::isSubclassOf() returns TRUE for the
class itself).
2006-07-25 12:34:38 +00:00
Marcus Boerger 71efa5b435 - MFH Fixed bug #37816 (ReflectionProperty does not throw exception when accessing protected attribute) 2006-07-10 00:18:53 +00:00
Marcus Boerger 4651f79ed5 - Missing skipif 2006-03-19 18:25:51 +00:00
Marcus Boerger 0add197ec8 - MFH:
- Fix ReflectionParameter
  . Reintroduce getClass()
  . Change getDeclaringClass() to return what it suggests
  . (inactive but tested) Add getDeclaringFunction()
  . (inactive but tested) Add getPosition()
- Fix tests accordingly
# This also fixes Bug #36687 ReflectionParameter::getDeclaringClass returns
# wrong result
2006-03-12 17:22:34 +00:00