Pierre Joye
c9ec9fed7b
- set PHP_[EXTNAME] to yes for spl, pcre and reflection (always on), this variable is required by ADD_EXTENSION_DEP
2008-06-23 10:22:42 +00:00
Felipe Pena
bee6c52437
- New parameter parsing API
2008-06-21 02:41:27 +00:00
Lars Strojny
709ac7c21f
Testfest: various tests for ReflectionParameter
2008-06-12 21:41:21 +00:00
Lars Strojny
f2326fbed0
Testfest test cases for ReflectionExtension
2008-06-12 21:25:08 +00:00
Lars Strojny
5a241ddfe0
Testfest: ReflectionExtension tests by Gerrit te Sligte and Leon Luijkx
2008-06-12 20:55:38 +00:00
Lars Strojny
c26c072cba
Testfest: ReflectionExtension::info()-test by Stefan Koopmanschap
2008-06-12 20:46:23 +00:00
Lars Strojny
45f85f3840
Reflection::getModifierNames()-test by Felix De Vliegher (Testfest)
2008-06-12 20:31:06 +00:00
Felipe Pena
5050450f79
- MFB: Fixed bug #45139 (ReflectionProperty returns incorrect declaring class)
2008-06-01 03:11:38 +00:00
Sebastian Bergmann
30a8d14fbc
Drop SKIPIF check for ext/reflection.
2008-05-24 13:34:22 +00:00
Robin Fernandes
d2d61cac19
More basic ReflectionClass tests from Dutch TestFest.
2008-05-23 21:14:07 +00:00
Robin Fernandes
066a330877
Basic ReflectionClass tests (from Dutch TestFest)
2008-05-22 21:53:59 +00:00
Sebastian Bergmann
b5281c79b5
MFH: Add tests for ReflectionFunction::getExtension*().
2008-05-11 04:57:09 +00:00
Antony Dovgal
a72b8f96ed
fix build
2008-05-02 23:05:05 +00:00
Elizabeth Marie Smith
3adf07b5c6
Fix reflection (always static, never shared) and disable turning off pcre and spl (also always static, never shared)
2008-05-02 14:05:53 +00:00
Lars Strojny
0bc6920f66
Hard enabling it for Windows, readding define for UNIX [DOC]
2008-05-02 13:11:45 +00:00
Lars Strojny
7309946677
Hard enabling ext/reflection on UNIX too [DOC]
2008-05-02 13:05:42 +00:00
Antony Dovgal
c75658c477
MFH
2008-04-29 08:08:21 +00:00
Robin Fernandes
0455ccb805
Remove inconsistent behaviour when a protected static prop is overridden by public static prop (details: http://turl.ca/phhhf ).
2008-03-03 15:07:04 +00:00
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
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
Johannes Schlüter
6415ef51e9
- MFH: Print the type of the original value
2006-09-11 21:21:43 +00:00
Johannes Schlüter
6a1b4c99c7
- MFH: Fix #37923 (Display constant value in reflection::export)
2006-09-11 17:08:42 +00:00
Hannes Magnusson
bc8377a81c
Make ReflectionFunctionAbstract abstract
...
- Move ReflectionFunctionAbstract::__construct to ReflectionFunction
- Move ReflectionFunctionAbstract::__toString to ReflectionFuncion
- Delcare ReflectionFunctionAbstract::__toString abstract
- fix couple of typos
2006-09-10 13:25:47 +00:00
Johannes Schlüter
eb958c080e
- MFH: Add HAVE_REFLECTION define for win32 (by Steph)
2006-09-02 19:13:23 +00:00
Antony Dovgal
75b8cd741b
last portion of z/Z fixes
2006-08-31 16:15:24 +00:00
Antony Dovgal
86bf55a3d8
MFH: fix #38653 (memory leak in ReflectionClass::getConstant())
2006-08-30 10:42:49 +00:00
Antony Dovgal
6a70b05660
MFH: build ext/spl and ext/reflection as static ( fixes #38556 )
2006-08-23 09:47:21 +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
Michael Wallner
799ec9975b
- ws
2006-07-25 14:44:53 +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
d0f2f6cd04
- MFH zend_unmangle_property_name(), drop zend_unmangle_property_name_ex()
2006-07-24 18:03:45 +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
c5ff44688a
- MFH Fix logic
2006-07-09 23:30:19 +00:00
Hannes Magnusson
147840dd93
MFH: ReflectionFunction::isDisabled()
2006-07-07 11:55:23 +00:00
Hannes Magnusson
612e75442f
mfh
2006-07-04 15:37:34 +00:00
Hannes Magnusson
1d6e7e3d93
MFH: Fix protos&arginfo
2006-07-04 15:33:57 +00:00
Marcus Boerger
97062cade9
- MFH Fix ReflectionObject::getProperties() + dyn properties
2006-06-24 18:55:15 +00:00
Hannes Magnusson
13fe33c2df
MFH
...
- Created new abstract class, ReflectionFunctionAbstract implementing Reflector
- Moved all methods from ReflectionFunction (except export, invoke & invokeArgs)
- ReflectionFunction now inherits everything from ReflectionFunctionAbstract
and implements its own export, invoke & invokeArgs methods
- ReflectionMethod now extends ReflectionFunctionAbstract and implements
its own export, invoke & invokeArgs methods.
- Removed stdClass typehint from ReflectionClass::isInstance
- Removed stdClass typehint from ReflectionClass::set/getValue
2006-06-10 00:40:57 +00:00
Marcus Boerger
44ba014c5f
- MFH Add arginfo (hannes)
2006-06-07 22:39:22 +00:00
Marcus Boerger
1f93575c88
- MFH Add ReflectionClass::getInterfaceNames()
2006-06-07 09:26:11 +00:00
Marcus Boerger
dfd2295849
- Use engine call to register interfaces (steph)
2006-06-04 10:26:55 +00:00
Antony Dovgal
17ad6e2ebf
apply correct fix
2006-06-01 14:31:22 +00:00
Antony Dovgal
210335909a
MFH: no need to fetch trsm_ls when it's already available
2006-06-01 12:25:38 +00:00
Marcus Boerger
77c1b56cd7
- Update after api changes
2006-05-10 00:00:13 +00:00
Antony Dovgal
59b8592c8c
fix bug #36898 (__set() leaks in classes extending internal ones)
...
Added:
ZEND_API void zend_object_std_init(zend_object *object, zend_class_entry *ce TSRMLS_DC)
ZEND_API void zend_object_std_dtor(zend_object *object TSRMLS_DC)
to initialize and destroy zend_object structs
2006-03-29 14:28:43 +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
Marcus Boerger
e16bba12b1
- Prefix test names
...
- Add missing skipif
2006-03-12 12:38:25 +00:00
Rasmus Lerdorf
3563191049
stray text
2006-03-06 23:26:28 +00:00
Marcus Boerger
e795f8f427
- MFH Proto fixes
2006-03-06 09:50:44 +00:00
Marcus Boerger
c4b81d8720
- Fix warning
2006-02-28 02:22:57 +00:00
Johannes Schlüter
3e056bc13c
- Fix tests
2006-02-27 00:18:59 +00:00
Marcus Boerger
bf213a2c7b
- Add ReflectionExtension::getDependencies()
2006-02-25 21:17:18 +00:00
Marcus Boerger
941b0651dc
- MFH: Function deprecation flag
2006-02-25 18:25:45 +00:00
Johannes Schlüter
611a6dece9
- MFH: Fix description
2006-02-24 23:25:57 +00:00
Johannes Schlüter
027abfd702
- MFH: Fix #29986 (Class constants won't work with predefined constants when
...
using ReflectionClass)
2006-02-24 23:09:22 +00:00
Ilia Alshanetsky
07e7092729
Added test for bug #36434
2006-02-22 15:45:25 +00:00
Johannes Schlüter
c6cb1598be
- MFH: Rename reflection constants to fix parser conflicts
2006-02-20 23:33:32 +00:00
Ilia Alshanetsky
4ea898b79f
Fixed bug #36434 (Improper resolution of declaring class name of an
...
inherited property).
2006-02-20 15:27:45 +00:00
Marcus Boerger
afd8f0b608
- MFH Fix naming inconsistency (providing old name as alias)
2006-02-18 18:14:45 +00:00
Antony Dovgal
c65d61a301
add test for bug #36337
2006-02-14 09:46:16 +00:00
Ilia Alshanetsky
1e05eec591
Fixed bug #36337 (ReflectionProperty fails to return correct visibility).
2006-02-13 14:49:26 +00:00
Ilia Alshanetsky
044d24a23c
Added test for bug #36308
2006-02-09 18:18:18 +00:00
Ilia Alshanetsky
0a6b074034
Fixed bug #36308 (ReflectionProperty::getDocComment() does not reflect
...
extended class commentary).
2006-02-08 00:36:57 +00:00
Michael Wallner
beea63529c
MFH: fix ReflectionClass::getInterfaces()
2006-02-06 20:12:48 +00:00
Antony Dovgal
b22ab5b5d3
fix printf-style formats
2006-01-30 21:14:54 +00:00
Marcus Boerger
cb4bb6e389
- MFH Bug #36141 Add ReflectionClass::newInstanceArgs($args)
2006-01-25 22:03:54 +00:00
foobar
5bd93221a8
bump year and license version
2006-01-01 12:51:34 +00:00
Antony Dovgal
8aedeb8513
tix fypo
2005-12-18 21:17:07 +00:00
Marcus Boerger
af1d83d783
- Fix MFH (oversight problem)
2005-12-11 12:37:39 +00:00
foobar
3e669bc950
MFH: nuke php3 legacy
2005-12-06 02:28:41 +00:00
foobar
6c3e2b32bf
MFH
2005-12-03 01:12:45 +00:00
Dmitry Stogov
8768ab94b3
Fixed bug #34729 (Crash in ZTS mode under Apache)
2005-12-01 11:48:17 +00:00
Marcus Boerger
7cb0480d04
- Moved reflection into its own extension
2005-11-30 21:53:20 +00:00
Marcus Boerger
c21ced1ec9
- Not in this branch
2005-11-17 22:35:27 +00:00
Dmitry Stogov
64931b62cc
Allow recursive calls to __get/__set for different properties
2005-11-15 13:35:23 +00:00
Dmitry Stogov
863bf8a574
Fixed bug #29268 (__autoload() not called with Reflection->getClass())
2005-10-21 08:03:28 +00:00
Antony Dovgal
5fdeb391f3
MFH: fix copy/paste typo
2005-10-20 16:47:18 +00:00
Marcus Boerger
dec65f584b
- MFH ReflectionClass::isInstantiable and abstract classes
2005-10-06 22:46:33 +00:00
Antony Dovgal
21e809b7be
MFH: check class_entry of this_ptr in Reflection API
2005-09-16 20:21:46 +00:00
Antony Dovgal
f43767b249
fix #34505 (possible memory corruption when unmangling properties with empty names)
...
1st part
2005-09-16 17:05:09 +00:00
Dmitry Stogov
248345d920
Support for class constants and static members for internal classes
2005-09-01 10:05:32 +00:00
Dmitry Stogov
7230be4951
Fixed possible memory leak
2005-08-30 07:22:23 +00:00
Dmitry Stogov
976edd47e2
Fixed bug #32981 (ReflectionMethod::getStaticVariables() causes apache2.0.54 seg fault)
2005-08-17 11:54:34 +00:00
Antony Dovgal
565c7708ca
fix #34078 (Reflection API problems in methods with boolean or null default values)
2005-08-11 21:16:20 +00:00
foobar
916815b779
Bump up the year
2005-08-03 13:30:58 +00:00
Dmitry Stogov
345e0255b5
Fixed bug #33512 (Add missing support for isset()/unset() overloading to complement the property get/set methods)
2005-07-07 16:07:09 +00:00
Marcus Boerger
f845c37b41
- Fix test
2005-06-21 18:34:21 +00:00
Ilia Alshanetsky
e656b82956
Fixed memory leak.
...
# Found by valgrind w/o zend-mm being used.
2005-06-21 14:05:15 +00:00
Marcus Boerger
f554eba8f3
- Fix bug #33389 by fixing copying
2005-06-20 01:37:48 +00:00
Marcus Boerger
5cc056a6ce
- Output shows false lowercased
2005-06-20 01:10:33 +00:00
Marcus Boerger
758503e26f
- Show true/flase
2005-06-20 01:08:57 +00:00
foobar
21ce9394a7
revert - now it works again?!
2005-06-19 17:06:48 +00:00
foobar
a91a5601e4
fix test
2005-06-18 23:23:45 +00:00
foobar
185648217f
test for bug #33389
2005-06-18 01:01:48 +00:00
foobar
a491b82c4c
No short-tags!
2005-06-17 16:40:05 +00:00
Marcus Boerger
7a7cda7a4c
- Internal functions/methods can now return by reference
2005-06-16 23:02:23 +00:00
Dmitry Stogov
e6dcba6052
Fixed bug #33312 (ReflectionParameter methods do not work correctly)
2005-06-13 07:55:08 +00:00
Dmitry Stogov
26c3944d9c
Fixed support for ZEND_ACC_SHADOW in ReflectionProperty constructor
2005-06-10 10:22:36 +00:00
Stanislav Malyshev
2cb52151ac
MF50: fix #29689 and more private property problems
2005-06-09 17:20:44 +00:00
Dmitry Stogov
9cf513dfea
Fixed ReflectionClass::setStaticPropertyValue()
2005-06-08 17:08:06 +00:00
Dmitry Stogov
0a44789bf3
Fixed bug #30961 (Wrong linenumber in ReflectionClass getStartLine())
2005-06-08 06:49:01 +00:00
Dmitry Stogov
1a72341328
Added array type hinting. (This patch requires full re-make)
2005-05-26 13:46:17 +00:00
Marcus Boerger
3453cf642a
- Add new tests
2005-05-26 12:22:18 +00:00
Marcus Boerger
c1e480d46e
- Make ReflectionObject::hasProperty() recognize dynamically added props
2005-05-12 21:25:42 +00:00
Sebastian Bergmann
11a91f04b2
Correct grammar.
2005-04-25 05:13:36 +00:00
Marcus Boerger
67a226d910
- Add ReflectionProperty::getDocComment()
2005-04-19 22:04:59 +00:00
Marcus Boerger
43a5cee728
- Add more tests
2005-04-17 20:33:20 +00:00
Marcus Boerger
5b21e48557
- Fix even though we already know that the function will be renamed
2005-04-15 18:53:42 +00:00
Marcus Boerger
53e5eb8032
- Add new test
2005-04-08 13:34:30 +00:00
Marcus Boerger
86ac9559be
- Fix by Tim
2005-03-06 22:15:35 +00:00
Marcus Boerger
893e9c0498
- Add new test
2005-02-27 22:25:11 +00:00
Marcus Boerger
c4bc32ff7b
- Add two new methods
...
- Fix signature, no need to cast it
2005-02-27 22:21:17 +00:00
Derick Rethans
30d9fd6bba
- Fixed bug #32076 (ReflectionMethod :: isDestructor() always return true)
...
(Patch by Antony Dogval)
2005-02-23 12:20:04 +00:00
Marcus Boerger
a57b6bad69
- Be more gracious in reflection API
2005-02-13 23:04:49 +00:00
Marcus Boerger
d308d6d462
- Rename
2005-02-13 13:57:51 +00:00
Marcus Boerger
0a9e940ab7
- Add new test
2005-02-13 13:50:30 +00:00
Marcus Boerger
0bb81ce1d6
- Add ReclectionClass:hasProperty(), ReflectionClass::hasConstant()
...
to complete api (johannes@php.net )
2005-01-31 22:56:01 +00:00
Marcus Boerger
1d5c13bdad
- Fix #31651 (ReflectionClass::getDefaultProperties segfaults with arrays.)
2005-01-22 12:23:01 +00:00
Marcus Boerger
bad986232b
- Update after fixing it
2005-01-22 12:22:01 +00:00
Marcus Boerger
a01e3435de
_ Add test for bug 31651
2005-01-22 11:46:56 +00:00
Marcus Boerger
7be33a225e
- Need to unmangle the class name here
2004-12-27 15:13:26 +00:00
Marcus Boerger
03af7c8abc
- More proto/error message fixes
2004-12-27 13:32:22 +00:00
Marcus Boerger
4b80deed8e
- Small fixlet (by Tony)
2004-12-27 11:41:45 +00:00
Marcus Boerger
8c7bd30a7b
- Add ReflectionClass::hasMethod() (thanks to Johannes S.)
2004-12-25 16:27:27 +00:00
Marcus Boerger
520097b065
- Fix Bug #30856 (ReflectionClass::getStaticProperties segfaults)
2004-11-24 19:56:54 +00:00
Marcus Boerger
4ab537fc61
- Add new test
2004-11-24 19:56:25 +00:00
Marcus Boerger
95ff205e6c
- Bugix #30783 : Apache crash when using ReflectionFunction::getStaticVariables()
2004-11-14 18:01:44 +00:00
Marcus Boerger
fcbd8c4f99
- Trying to invoke function not methot here
2004-11-03 21:18:44 +00:00
Marcus Boerger
63b288c464
- Fix invokeargs() with static methods
2004-11-03 21:11:48 +00:00
Marcus Boerger
41b87ab486
- Add ReflectionFunction::invokeArgs(array)
...
- Add ReflectionMethod::invokeArgs(obj, array)
2004-10-31 15:30:53 +00:00
Sebastian Bergmann
e1a941b486
Invokation -> Invocation
2004-10-31 10:19:53 +00:00
Marcus Boerger
9d7cba9db0
- Be consistent and use names as keys (found by johannes)
2004-10-30 19:53:25 +00:00
Marcus Boerger
8bf02ee681
- Fix protos
2004-10-30 10:18:10 +00:00
Marcus Boerger
ca6558a406
- Fix Bug #30344
2004-10-06 21:23:18 +00:00
Marcus Boerger
a898c2dd28
Fix classnames
2004-09-29 08:55:45 +00:00
Marcus Boerger
93753e19b1
Add new test
2004-09-29 08:48:16 +00:00
Marcus Boerger
b907755e3c
- publish reflection_class_factory() as zend_reflection_class_factory()
2004-09-28 19:06:15 +00:00
Marcus Boerger
3fec3a916b
- Make internally used properties read-only and fix default properties
2004-09-27 22:24:57 +00:00
Marcus Boerger
0e68cf3cdb
- Add new test
2004-09-27 22:23:31 +00:00
Marcus Boerger
8d587ce308
- Declare properties
2004-09-27 21:25:12 +00:00
Marcus Boerger
5ab692da02
- Add new test
2004-09-27 21:24:45 +00:00
Marcus Boerger
9291a7fa98
Fix Reflection_Class to ReflectionClass in docu/messages
2004-09-27 09:11:40 +00:00
Marcus Boerger
04fe8184f8
- Fix warnings
2004-09-27 09:01:18 +00:00
Marcus Boerger
2e49a2d960
Add test description
2004-09-23 18:43:21 +00:00
Marcus Boerger
c0b62ca36d
Add new test
2004-09-23 18:38:34 +00:00
Marcus Boerger
e13eb1d6c0
Bugfix # 30209
2004-09-23 18:37:53 +00:00
Marcus Boerger
d0cfb7d3fd
Bugfix #30146 (ReflectionProperty->getValue() requires instance for static property)
2004-09-19 11:54:08 +00:00
Marcus Boerger
dfe23e34d9
Add new test
2004-09-19 11:53:30 +00:00
Marcus Boerger
980424a834
Add new test
2004-09-19 11:26:05 +00:00
Marcus Boerger
43d9ade92b
Bugfix #30148 (ReflectionMethod->isConstructor() fails for inherited classes)
2004-09-19 11:25:39 +00:00
Marcus Boerger
b1d43bac61
Fix test: Classes cannot extend Interfaces
2004-08-26 22:58:12 +00:00
Marcus Boerger
5960786cc6
Add new test
2004-08-26 22:24:48 +00:00
Marcus Boerger
308081cd11
- Implement #29728 : Reflection API Feature: Default parameter value.
...
. ReflectionParameter::isDefaultValueAvailable()
. ReflectionParameter::getDefaultValue()
2004-08-19 07:42:02 +00:00
Marcus Boerger
5e1a0f4c0c
- Nedd to work on copy
2004-08-19 07:16:02 +00:00
Marcus Boerger
35fec42377
- Show default value of optional parameters of user defined functions.
2004-08-18 23:07:12 +00:00
Marcus Boerger
041d23d7b6
- Fix bug #29447 : Reflection API issues
2004-08-16 08:48:25 +00:00
Marcus Boerger
90e4fd0a0a
- Fix bug #29523 (ReflectionParameter::isOptional() is incorrect)
2004-08-04 22:47:56 +00:00
Marcus Boerger
70268f05ef
- Expand to test number of parameters
2004-08-02 23:10:53 +00:00
Marcus Boerger
84b90d6803
- Add methods to check parameter count
2004-08-02 23:10:29 +00:00
Marcus Boerger
2803965525
Correct test name
2004-08-02 23:00:35 +00:00
Marcus Boerger
ef9e7e5d9e
Add test
2004-08-02 22:59:58 +00:00
Marcus Boerger
7e914380c9
- Show visibility errors (try to fix #29354 )
2004-07-25 18:20:33 +00:00
Marcus Boerger
40bf10319b
- Add ReflectionParameter::isOptional() to test whether a parameter is
...
optional and also show this information in export.
2004-07-25 07:06:53 +00:00
Marcus Boerger
446cc107b8
- Fixed bug 28895 again (long live the dead)
2004-07-20 18:22:31 +00:00
Sebastian Bergmann
fb3c30574e
Fix prototypes: Reflection_* -> Reflection*.
2004-07-19 19:17:32 +00:00
Sebastian Bergmann
045d395d4a
Make ReflectionClass::getMethod() and ReflectionClass::getProperty() raise an ReflectionException instead of returning NULL on failure.
2004-07-19 19:14:10 +00:00
Sebastian Bergmann
32e125e2b8
Do not use contracted forms.
2004-07-19 19:02:11 +00:00
Sebastian Bergmann
f0903895c1
Reflection_* -> Reflection*. Patch by Timm Friebe.
2004-06-19 16:52:04 +00:00
Marcus Boerger
4fec06587b
#28789 : ReflectionProperty getValue() fails on public static members
2004-06-15 20:39:49 +00:00
Marcus Boerger
eb0cb6f6ed
Small code layout change
2004-06-10 12:11:16 +00:00
Marcus Boerger
e8e4ff0aa1
Bugfix #28699 : Reflection api bugs
2004-06-10 11:28:29 +00:00
Marcus Boerger
4213153365
Fix Bug #28694 ReflectionExtension::getFunctions() crashes PHP
2004-06-09 19:25:42 +00:00
Marcus Boerger
9b8eee74d9
Refcount must not be set separatley again.
2004-05-31 21:49:52 +00:00
Marcus Boerger
20b60f49d9
Add missing initialization
2004-05-31 21:46:00 +00:00
Marcus Boerger
21315c08b7
Add missing initialization
2004-05-31 21:43:43 +00:00
Andi Gutmans
e780c42f21
- Fix prototypes
2004-04-27 15:18:33 +00:00
Marcus Boerger
54e5ad6b6e
Fix prototype
2004-04-26 18:54:18 +00:00
Marcus Boerger
286f75c891
Show number of classes
2004-04-25 11:22:56 +00:00
Marcus Boerger
be85c9049b
show ini entries and classes for extensions.
2004-04-19 18:02:49 +00:00
Marcus Boerger
8ccfca0c41
Bugfix #27519 Reflection_Function constructor crashes with non-existant
...
function's name
2004-04-08 20:37:06 +00:00
Andi Gutmans
1c5ea0d7df
- Fix typo
2004-03-31 13:11:19 +00:00
Marcus Boerger
9f8ba2e8a1
Fix tests
2004-03-30 21:17:52 +00:00
Marcus Boerger
76ae4e10bf
Fix test
2004-03-30 21:13:05 +00:00
Marcus Boerger
b4bc994680
TSRM fix
2004-03-30 18:39:53 +00:00
Marcus Boerger
5230321731
- Fix Reflection class names
...
- Add ability to get the extension an internal class was defined in
# This is the patch Andi and me used to search for underscrores...
2004-03-30 18:36:53 +00:00
Marcus Boerger
83675b6622
Fix memleak found by Timm
2004-03-28 13:55:06 +00:00
Marcus Boerger
50ee116f08
Clearify the different method/class flags (as discussed with Andi).
2004-03-09 16:38:37 +00:00
Marcus Boerger
5208baee49
Add another missing conversion
2004-03-08 00:19:43 +00:00
Pierre Joye
0132cc897b
- include exception.inc not .php
2004-03-02 15:57:41 +00:00
Pierre Joye
dd7ba93e19
- excpetion.php => exception.inc (derick)
2004-03-01 20:44:11 +00:00
Pierre Joye
6f68407894
- initial release, reflection tests suite
2004-03-01 20:40:51 +00:00
Andi Gutmans
161ed69721
- Fix leak
2004-03-01 17:43:57 +00:00
Andi Gutmans
0f1382e126
- Fix crash in reflection API (pierre)
2004-03-01 15:19:38 +00:00
Andi Gutmans
37ddf8e922
- Apply fixes by Timm.
2004-02-29 18:31:29 +00:00
Marcus Boerger
3e1f3b2124
Fix problem with Reflection_Property (patch from Timm slightly modified).
2004-02-26 01:06:18 +00:00
Sebastian Bergmann
0cfb59fce4
Proto fixes.
2004-02-25 08:58:56 +00:00
Zeev Suraski
00ed3bad29
Centralize exceptions code in zend_exceptions.[ch].
...
Remove zend_default_classes.h (use zend_exceptions.h instead)
NOTE: This currently breaks the build, fixes to php-src and pecl coming
soon
2004-02-12 10:38:14 +00:00