Felipe Pena
ce72f33674
- Fixed tests
2010-07-06 00:25:52 +00:00
Felipe Pena
4d3944f941
- Fixed bug #52057 (ReflectionClass fails on Closure class)
2010-06-11 23:37:55 +00:00
Felipe Pena
becc2bb671
- 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
dc86e9e89f
- Fix memleak when passing a non string/object parameter
2010-06-03 00:14:35 +00:00
Felipe Pena
f10c7890c2
- Fix test
2010-06-03 00:13:27 +00:00
Felipe Pena
e03baf4e5d
- Save an object_init_ex() and zval_dtor() calls on ReflectionClass::isCloneable()
2010-06-02 17:07:01 +00:00
Felipe Pena
c98c39b1c1
- Added ReflectionClass::isCloneable() [DOC]
2010-06-02 15:29:42 +00:00
Johannes Schlüter
4158f7e122
- More trait reflection work
...
#- I'm not happy about ReflectionClass::getTraitAliases, yet
2010-05-30 01:00:45 +00:00
Felipe Pena
2d63683ec3
- Fixed ReflectionClass::isTrait() checking (to not identify abstract class as Trait)
2010-05-29 22:08:51 +00:00
Felipe Pena
23dfc1fa9d
- Missing Trait check fix
2010-05-29 21:55:19 +00:00
Felipe Pena
3c4ff06ca7
- Fixed wrong abstract class identification (it was identified as a Trait)
2010-05-29 21:48:56 +00:00
Johannes Schlüter
97b7620aed
- Add some folding marks
2010-05-29 21:28:24 +00:00
Johannes Schlüter
19afc82e28
- Make reflection aware of traits
2010-05-29 20:40:58 +00:00
Johannes Schlüter
1afd50766c
- Fix tests
2010-05-29 20:34:25 +00:00
Kalle Sommer Nielsen
49d74ebc6e
Fixed compiler warning (pointer mismatch)
2010-05-27 23:24:06 +00:00
Pierrick Charron
0b9263da93
Remove unused variable
2010-05-26 16:17:15 +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
79d2aaf0f1
- 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
Felipe Pena
1168cdc323
- Fixed bug #51911 (ReflectionParameter::getDefaultValue() memory leaks with constant array)
2010-05-25 22:46:17 +00:00
Dmitry Stogov
f23e857676
Fixed ZTS build
2010-05-24 17:07:52 +00:00
Dmitry Stogov
c5237d82bf
Added caches to eliminate repeatable run-time bindings of functions, classes, constants, methods and properties
2010-05-24 14:11:39 +00:00
Derick Rethans
1bc9247651
- Added scalar typehinting.
2010-05-20 19:18:35 +00:00
Dmitry Stogov
94dd83722b
Changed the structure of op_array.opcodes. The constant values are moved from opcode operands into a separate literal table
2010-04-20 10:57:45 +00:00
Stanislav Malyshev
c93a4f192b
restore $this support for closures to its former glory
2010-04-19 19:45:03 +00:00
Johannes Schlüter
26b08f9857
Remove main/php3_compat.h, for that a few references to function_entry
have
...
to be replaced by `zend_function_entry`.
2010-03-30 23:03:02 +00:00
Johannes Schlüter
d5b2d647c0
Fix protos
2010-03-30 22:36:17 +00:00
Johannes Schlüter
26af575926
Add ReflectionZendExtension class and --rz option to CLI
2010-03-30 22:35:23 +00:00
Johannes Schlüter
6ba38a6e09
Fix folding
2010-03-30 21:04:28 +00:00
Johannes Schlüter
4dc1cef4fe
Use php_error_docref instead of zend_error
2010-03-30 21:02:32 +00:00
Johannes Schlüter
a6c9e432d4
Use php_error_docref instead of zend_error
2010-03-30 21:02:32 +00:00
Johannes Schlüter
347e2bce22
Add ReflectionExtension::isTemporary() and ReflectionExtension::isPersistent().
2010-03-30 20:50:42 +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
Sebastian Bergmann
03b1d4f876
MFH: Rename reflection*.phpt to Reflection*.phpt for consistency.
2009-04-08 16:09:16 +00:00
Sebastian Bergmann
03e48b1535
MFH: Fix issue reported by Roman Borschel.
2009-04-04 14:36:23 +00:00
Ilia Alshanetsky
c1effd8c7a
Block unused function
2009-04-02 21:30:09 +00:00
Christian Seiler
63ee3c98a8
Fixed regression of bug #46205 , thanks to felipe for pointing this out.
2009-02-01 15:06:19 +00:00
Christian Seiler
c6d89bd4a8
[DOC] Remove $this support in closures for PHP 5.3 beta 1
...
- Implementation notes here:
http://wiki.php.net/rfc/closures/removal-of-this
2009-01-26 22:54:34 +00:00
Felipe Pena
15851cd771
MFH:
...
- New parameter parsing
- Removed METHOD_NOTSTATIC_NUMPARAMS
2009-01-07 22:40:17 +00:00
Marcus Boerger
7c8c0414e1
- MFH Minor corrections and a new test
2009-01-03 20:41:01 +00:00
Marcus Boerger
4ffc3235e3
- MFH Show closure's bound as static parameter
2009-01-03 20:04:22 +00:00
Marcus Boerger
12df96e0de
MFH
...
- Add ReflectionFunctionAbstract::getClosureThis()
[DOC]
# Returns the this pointer bound to the closure is the relection object
# points to closure. Since not all closures have a bound this, the method
# cannot be used to differentiate between normal functions/methods and
# closures. Instead ReflectionFunctionAbstract::isClosure() has to be used.
2009-01-03 19:08:47 +00:00
Marcus Boerger
7ca830742e
- MFH Improved closure support
2009-01-03 14:20:22 +00:00
Marcus Boerger
4490ca3104
- MFH Add minimalistic closure support
2009-01-03 12:39:27 +00:00
Marcus Boerger
88ca8e7279
- Use Revision instead of Id tag for version
2008-12-31 14:36:27 +00:00
Sebastian Bergmann
08659c2dcd
MFH: Bump copyright year, 3 of 3.
2008-12-31 11:15:49 +00:00
Sebastian Bergmann
2f49305bc8
MFH: Fix #46718 : ReflectionProperty::setValue() and ReflectionProperty::setAccessible().
2008-11-29 15:58:54 +00:00
Dmitry Stogov
7d4fd3fd38
Fixed bug #46409 (__invoke method called outside of object context when using array_map)
2008-11-27 19:01:23 +00:00
Ant Phillips
4126370491
Reflection tests: checked on PHP 5.2.6, 5.3 and 6.0 (Windows, Linux and Linux 64 bit).
2008-11-18 15:36:48 +00:00
Ant Phillips
0b79202140
Commit tests for ext/reflection
2008-11-17 12:26:43 +00:00
Felipe Pena
fc2fb50d09
- MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro
2008-11-17 11:28:01 +00:00
Hannes Magnusson
dd9e9f26e2
MFH: Interfaces extend other interfaces, not implement
2008-11-14 19:22:43 +00:00
Felipe Pena
39b1f65aab
- Fixed tests
2008-11-13 01:49:51 +00:00
Marcus Boerger
7126de4912
- Next step in namespaces, using / as namespace separator.
2008-11-04 15:58:55 +00:00
Felipe Pena
7a37fa2d6b
- Revert ZEND_BEGIN_ARG_INFO change
2008-11-02 21:19:39 +00:00
Felipe Pena
b9c03aa4a5
- MFH: Fixed bug #46064 (Exception when creating ReflectionProperty object on dynamicly created property)
2008-10-29 12:56:29 +00:00
Felipe Pena
df10005563
- MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro
2008-10-24 14:35:40 +00:00
Dmitry Stogov
f656c6fc70
Fixed bug #46205 (Closure - Memory leaks when ReflectionException is thrown)
2008-10-01 07:30:31 +00:00
Felipe Pena
9d5ab6e54f
- MFH: Removed unused arguments
2008-08-22 15:54:21 +00:00
Felipe Pena
c89c62047c
- Fixed test
2008-08-18 19:49:33 +00:00
Christian Seiler
066ea4f66c
MFH: Fixed segfaults (tests added)
2008-08-11 22:31:22 +00:00
Marcus Boerger
6d083e2c39
- Cleanup
2008-08-11 19:35:00 +00:00
Felipe Pena
038373244b
- MFH: New tests
2008-08-11 14:00:02 +00:00
Felipe Pena
301af6d4a9
- MFH: has_property check
2008-08-11 13:56:24 +00:00
Felipe Pena
e82568d9e4
- Fix build (ZTS)
2008-08-11 12:48:22 +00:00
Marcus Boerger
05d896cce9
- MFH Closure/Reflection integration (original idea by Christian Seiler)
2008-08-11 12:43:21 +00:00
Felipe Pena
18d07065c0
- MFH: Fixed bug #45765 (ReflectionObject with default parameters of self::xxx cause an error)
2008-08-11 00:47:45 +00:00
Felix De Vliegher
3b2da467e7
Tests for ReflectionMethod::getClosure() and ReflectionFunction::getClosure()
2008-08-08 12:39:16 +00:00
Felix De Vliegher
06bcec0698
Documentation fix for getClosure()
2008-08-08 10:52:48 +00:00
Dmitry Stogov
af05ce0af6
Fixed is_callable/call_user_func mess that had done different things for very similar arguments e.g. array("A","B") and "A::B"
2008-07-26 13:14:04 +00:00
Dmitry Stogov
ac68c41f8d
Fixed support for static methods
2008-07-25 09:44:47 +00:00
Dmitry Stogov
176ebc26ea
Fixed uninitialized data
2008-07-25 08:50:55 +00:00
Antony Dovgal
a46319d86d
fix typos
2008-07-25 08:45:09 +00:00
Dmitry Stogov
691d4a6999
Fixed uninitialised data
2008-07-25 08:23:07 +00:00
Felipe Pena
0fbe6a0c14
- MFH: Added TSRMLS_DC to apply_func_args_t and zend_hash_apply_with_arguments.
2008-07-24 19:52:24 +00:00
Felipe Pena
a83e976857
- Fixed bug #45571 (ReflectionClass::export() shows superclasses' private static methods.)
...
patch by Robin Fernandes
2008-07-20 16:51:28 +00:00
Dmitry Stogov
d5ef2f466c
Added support for lambda functions and closures
2008-07-14 09:49:03 +00:00
Antony Dovgal
04c8373b6a
MFH
2008-07-11 12:44:02 +00:00
Dmitry Stogov
b872c30c85
ws
2008-06-27 06:43:21 +00:00
Dmitry Stogov
216909ced7
Added support for namespaces
2008-06-25 12:33:46 +00:00
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