Commit Graph

250 Commits

Author SHA1 Message Date
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