Commit Graph

320 Commits

Author SHA1 Message Date
Dmitry Stogov
ecc9778dc8 Made code opcode-cache friendly. (It is disallowed to change code during execution) 2008-02-18 14:30:44 +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
2c90b7127c Revert 2008-01-30 14:45:20 +00:00
Felipe Pena
b9df996a3b Fix the fix (isInstance - order of parameters) 2008-01-30 13:42:01 +00:00
Antony Dovgal
ca44081e6b fix ZTS build 2008-01-30 12:50:59 +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
Sebastian Bergmann
d1dded8751 MFH: Bump copyright year, 2 of 2. 2007-12-31 07:17:19 +00:00
Steve Seear
f48e23c67f Adding PHPT tests for the ReflectionProperty class. 2007-12-18 17:21:55 +00:00
Dmitry Stogov
648fbe9d58 Fixed bug #43128 (Very long class name causes segfault) 2007-11-22 13:27:13 +00:00
Ilia Alshanetsky
f0197278e0 Fixed bug #42976 (Crash when constructor for newInstance() or
newInstanceArgs() fails)
2007-10-28 13:42:24 +00:00
Yiduo (David) Wang
4b4d634cb9 MFH: Added macros for managing zval refcounts and is_ref statuses 2007-10-07 05:22:07 +00:00
Dmitry Stogov
6c810b0d4c Improved memory usage by movig constants to read only memory. (Dmitry, Pierre) 2007-09-27 18:00:48 +00:00
Antony Dovgal
7a954c4c48 MFH: fix coverity issue #411 2007-09-27 09:15:09 +00:00
Sebastian Bergmann
11b820bda3 - Fugbix typo. 2007-08-20 17:01:22 +00:00
Johannes Schlüter
1d48a1081c - MFH: Mark the parameter for ReflectionProperty::GetValue as optional 2007-08-17 14:21:32 +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
Hannes Magnusson
e6e823c844 Avoid endless loop 2007-07-23 01:13:43 +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
Antony Dovgal
40f32634c2 MFH: fix copy/paste type and bug #41962 2007-07-11 13:27:49 +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
Marcus Boerger
407c9833ef - Bug #41525 ReflectionParameter::getPosition() not available
# This was supposed to be dropped in 5.1.4, I wonder why thisis not in
# because the functionality is documented.
# [ DOC ] Make sure the function documentation is correct for:
# ReflectionParameter::getPosition
# ReflectionParameter::getDeclaringFunction
# ReflectionFunction::getExtension
# ReflectionFunction::getExtensionName
2007-05-29 08:44:05 +00:00
Hannes Magnusson
c64a4a1359 MFH: fix logic 2007-05-28 10:46:21 +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
8e67ec8225 MFH: fix #40794 (ReflectionObject::getValues() may crash when used with dynamic properties) 2007-03-17 23:00:49 +00:00
Sebastian Bergmann
d3cb98caf0 Fugbix typo. 2007-03-16 06:41:24 +00:00
Antony Dovgal
9c100b20e6 MFH 2007-02-10 20:52:42 +00:00
Sebastian Bergmann
4223aa4d5e MFH: Bump year. 2007-01-01 09:36:18 +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
Dmitry Stogov
7c78500d96 Fixed bug #38942 (Double old-style-ctor inheritance) 2006-10-03 09:59:07 +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