Commit Graph

308 Commits

Author SHA1 Message Date
Felix De Vliegher
a3d6855a85 MFB: Documentation fix for getClosure() 2008-08-08 10:53:39 +00:00
Antony Dovgal
bd5f8ace6e make ReflectionProperty::getValue() and ReflectionProperty::setValue() consistent with their implementations in 5_3 2008-07-29 08:48:16 +00:00
Antony Dovgal
3f754a5aff no need for FETCH anymore.. 2008-07-29 07:33:58 +00:00
Antony Dovgal
652018e18e more similar fixes 2008-07-29 07:32:52 +00:00
Antony Dovgal
d23d92e077 add TSRMLS_DC and fix crash in ZTS mode 2008-07-29 07:29:22 +00:00
Dmitry Stogov
bdf7981e28 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:56 +00:00
Dmitry Stogov
c96256bcaf Fixed support for static methods 2008-07-25 09:48:36 +00:00
Dmitry Stogov
013059c247 Fixed uninitialized data 2008-07-25 08:53:11 +00:00
Felipe Pena
8e1b4a55cc - Added TSRMLS_DC to apply_func_args_t and zend_hash_apply_with_arguments. 2008-07-24 19:50:23 +00:00
Felipe Pena
d66ac1c507 - MFB: Fixed bug #45571 (ReflectionClass::export() shows superclasses' private static methods.) 2008-07-20 17:02:05 +00:00
Dmitry Stogov
8d2e0a7e0f Added closures support 2008-07-08 07:05:04 +00:00
Dmitry Stogov
8565522d49 ws 2008-06-27 06:43:38 +00:00
Dmitry Stogov
c306b42658 Added support for namespaces 2008-06-25 12:34:14 +00:00
Felipe Pena
a9e910eebd - MFB: Fixed bug #45139 (ReflectionProperty returns incorrect declaring class) 2008-06-01 03:13:54 +00:00
Dmitry Stogov
f78649d8db Made code opcode-cache friendly. (It is disallowed to change code during execution) 2008-02-18 14:31:01 +00:00
Derick Rethans
f8717f7280 - Fixed typo 2008-02-15 12:47:21 +00:00
Derick Rethans
4b6cdde9c8 - Add the ReflectionProperty::setAccesible() method that allows non-public
property's values to be read through ::getValue().
2008-02-15 12:37:38 +00:00
Antony Dovgal
f3643b59a5 fix ZTS build 2008-01-30 12:50:49 +00:00
Felipe Pena
c31d0d112f Fixed Bug #43926 (isInstance() isn't equivalent to instanceof operator) 2008-01-30 10:54:41 +00:00
Marcus Boerger
0aaea797da - Fixed Bug #37964 (Reflection shows private methods of parent class)
(felipe@php.net)
2008-01-16 14:19:07 +00:00
Sebastian Bergmann
9b620d50b4 Bump copyright year, 2 of 2. 2007-12-31 07:12:20 +00:00
Dmitry Stogov
47dc82ecb9 Fixed bug #43128 (Very long class name causes segfault) 2007-11-22 13:33:53 +00:00
Ilia Alshanetsky
8ef85b486a MFB: Fixed bug #42976 (Crash when constructor for newInstance() or
newInstanceArgs() fails)
2007-10-28 13:44:09 +00:00
Yiduo (David) Wang
95da0dc570 Added macros for managing zval refcounts and is_ref statuses 2007-10-07 05:15:07 +00:00
Dmitry Stogov
8146078f7b Improved memory usage by movig constants to read only memory. (Dmitry, Pierre) 2007-09-27 18:28:44 +00:00
Antony Dovgal
4919bc45c5 fix coverity issue #411 2007-09-27 09:14:56 +00:00
Dmitry Stogov
d085fa1fe1 Simplify (the prototype of zend_u_get_constant_ex() is going to be changed) 2007-09-11 11:16:46 +00:00
Sebastian Bergmann
89c30a380b - MFB: Fugbix typo. 2007-08-20 17:01:59 +00:00
Johannes Schlüter
b83198cd2c - Mark the parameter for ReflectionProperty::GetValue as optional
# [DOC] The documentation on this is wrong, too. The parameter is only
# needed for getting the value of an object's property, not for static
# ones. (I'm not sure if it has always been that way...)
2007-08-17 14:21:00 +00:00
Johannes Schlüter
610f70fcf5 - MFB: New ReflectionExtension::info() function to print the phpinfo() block
for an extension.
2007-07-24 23:16:47 +00:00
Hannes Magnusson
8bff918046 MFB: Avoid endless loop 2007-07-23 01:21:04 +00:00
Antony Dovgal
0a0b078746 implement (or fix?) #41884 (ReflectionClass::getDefaultProperties() does not handle static attributes) 2007-07-11 22:03:59 +00:00
Antony Dovgal
e58c638bc8 fix typo and bug #41962 2007-07-11 13:26:47 +00:00
Antony Dovgal
46f28f617b fix folding 2007-07-06 12:11:20 +00:00
Hannes Magnusson
e85d9c665d Fix logic 2007-05-28 10:34:37 +00:00
Johannes Schlüter
a9d356663b - Fix string compare in unicode mode 2007-03-17 23:38:41 +00:00
Antony Dovgal
53cf140b9a fix #40794 (ReflectionObject::getValues() may crash when used with dynamic properties) 2007-03-17 22:59:22 +00:00
Sebastian Bergmann
17abc7b283 MFB: Fugbix typo. 2007-03-16 06:42:01 +00:00
Antony Dovgal
ec79b63d69 fix #40431 (dynamic properties may cause crash in ReflectionProperty methods) 2007-02-10 20:51:42 +00:00
Sebastian Bergmann
3717df72ae Bump year. 2007-01-01 09:29:37 +00:00
Ilia Alshanetsky
2b23e4e205 MFB: Fixed bug #39884 (ReflectionParameter::getClass() throws exception for
type hint self).
2006-12-22 15:38:42 +00:00
Andrei Zmievski
e722dce575 - Marcus was too quick. Let's put type before zstr in the macros.
- Also mark get_include_path() and restore_include_path() with U.
2006-12-19 21:38:59 +00:00
Marcus Boerger
98dce57dd5 - Fix ZVAL_ZSTRL 2006-12-19 21:13:21 +00:00
Andrei Zmievski
75c272440e Turn doc comments into zstr strings with corresponding adjustments. 2006-10-27 21:22:05 +00:00
Andrei Zmievski
723eb5274e Mark reflection methods as Unicode-compliant (except for FIXME parts). 2006-10-24 17:37:17 +00:00
Andrei Zmievski
78f8685b45 Fix remaining Unicode issues. 2006-10-23 20:00:40 +00:00
Johannes Schlüter
0e58baae93 - Fix #38465 (ReflectionParameter fails if default value is an access to self:: 2006-10-18 16:34:25 +00:00
Dmitry Stogov
5e60e48f8a Unicode support. (Two more places must be fixed. Look for FIXME comments.) 2006-10-17 11:11:45 +00:00
Antony Dovgal
a92a070353 fix #39125 (Memleak when reflecting non-existing class/method) 2006-10-11 15:51:17 +00:00
Antony Dovgal
5d4259ff85 more improvements 2006-10-06 18:02:50 +00:00