History log of /PHP-7.3/ext/reflection/php_reflection.c
Revision Date Author Comments
# 07bda97e 17-Jan-2020 Nikita Popov <nikita.ppv@gmail.com>

Fixed bug #79115


# bea2ff88 19-Oct-2019 Fabien Villepinte <fabien.villepinte@gmail.com>

Fix bug #78697: inaccurate error message


# 35c80583 08-May-2019 Nikita Popov <nikita.ppv@gmail.com>

Fixed bug #75186


# e9c0367f 15-Apr-2019 Nikita Popov <nikita.ppv@gmail.com>

Fixed bug #77882


# da35fa2c 21-Mar-2019 Nikita Popov <nikita.ppv@gmail.com>

Fixed bug #77772


# 902d39a3 13-Oct-2018 Peter Kokot <peterkokot@gmail.com>

Trim trailing whitespace in source code files


# 7f6387b5 13-Oct-2018 Peter Kokot <peterkokot@gmail.com>

Trim trailing whitespace in source code files


# 945f3155 03-Oct-2018 Nikita Popov <nikita.ppv@gmail.com>

Reflection: Copy invoke function also in the variadic case

It doesn't matter how the parameters are provided, we always have
to copy the trampoline invoke function.


# f0647edd 02-Oct-2018 Nikita Popov <nikita.ppv@gmail.com>

Fixed bug #66430


# c0a389a9 05-Sep-2018 Christoph M. Becker <cmbecker69@gmx.de>

Fix #74454: Wrong exception being thrown when using ReflectionMethod

If zend_throw_exception_ex() already threw an exception, we should not
throw again.


# ab8094c6 25-Jul-2018 Dmitry Stogov <dmitry@zend.com>

Pack zend_constant.flags and zend_constant.module_number into reserved space inside zend_constant.value.


# 85ee47ed 11-Jul-2018 Dmitry Stogov <dmitry@zend.com>

Changed structure of zend_class_entry.trait_aliases and zend_class_entry.trait_precedences to avoid keeping "intermediate" trait references, that are used only during inheritance.


# 67b4c337 08-Jul-2018 Dmitry Stogov <dmitry@zend.com>

Uze ZVAL_COPY_DEREF() instead of ZVAL_DEREF() and ZVAL_COPY()


# 3780b027 05-Jul-2018 Dmitry Stogov <dmitry@zend.com>

Use zval_ptr_dtor() instead of zval_dtor() in internal functions that destroy new created object (This is safer and produces less code)


# b6cc4d20 05-Jul-2018 Dmitry Stogov <dmitry@zend.com>

Use zval_ptr_dtor() instead of zval_dtor() in internal functions that destroy new created object (This is safer and produces less code)


# 4a475a49 04-Jul-2018 Dmitry Stogov <dmitry@zend.com>

Replace legacy zval_dtor() by zval_ptr_dtor_nogc() or even more specialized destructors.
zval_dtor() doesn't make a lot of sense in PHP-7.* and it's used incorrectly in some places.
Its occurances should be replaced by zval_ptr_dtor() or zval_ptr_dtor_nogc(), or even more specialized destructors.


# 23ae6ca4 02-Jul-2018 Nikita Popov <nikita.ppv@gmail.com>

Fix check for invoking abstract method


# 826e403d 02-Jul-2018 Nikita Popov <nikita.ppv@gmail.com>

Add $ before property name in error message


# c97b8bbf 02-Jul-2018 Nikita Popov <nikita.ppv@gmail.com>

Fixed bug #75231

The behavior is now consistent with ReflectionMethod.


# 1b66ba17 02-Jul-2018 Nikita Popov <nikita.ppv@gmail.com>

Remove unnecessary explicit argc check

Instead specify a default value for the argument, which is more
idiomatic.


# 76f1d98a 02-Jul-2018 Nikita Popov <nikita.ppv@gmail.com>

Remove METHOD_NOTSTATIC checks in reflection

PHP does not allow static calls to non-static internal methods
anyway, so these checks are redundant.


# 7ac06d66 29-Jun-2018 Nikita Popov <nikita.ppv@gmail.com>

Add zend_update_static_property_ex API

And cleanup the implementation to perform a normal by-value
assignment.


# 813b6fc9 29-Jun-2018 Nikita Popov <nikita.ppv@gmail.com>

Add zend_read_static_property_ex API

For symmetry with zend_read_property_ex.


# db7ead07 28-Jun-2018 Nikita Popov <nikita.ppv@gmail.com>

Fix ReflectionProperty::get/setValue() on internal static property

This was broken by 6dc0cd868d972885249ce40f2d64097cd0ba6c1f, which
moved static property initialization outside of constant updating.

Instead of replicating logic, use zend_get_static_property() API
in the reflection implementation, just like we're using
read_property for non-static proprety access.


# 1f6b842a 27-Jun-2018 Xinchen Hui <laruence@gmail.com>

Fixed bug #76536 (PHP crashes with core dump when throwing exception in error handler). (Laruence)


# bddb085a 27-Jun-2018 Nikita Popov <nikita.ppv@gmail.com>

Store unmangled name in ReflectionProperty

Avoid redundant unmangles and string copies, where possible.


# 78f2a1b8 27-Jun-2018 Nikita Popov <nikita.ppv@gmail.com>

Optimize ReflectionProperty constructor

Perform HT lookups using a zend_string. Don't copy the name for
the "name" property. We can always use the original name directly,
as properties case case-sensitive, so the original name should
always match the unmangled name of the fetched property info.


# 7f67513c 25-Jun-2018 Dmitry Stogov <dmitry@zend.com>

Lazy function copying from op_cache SHM into process memory


# c8f355b1 25-Jun-2018 Dmitry Stogov <dmitry@zend.com>

Micro-optimization


# 2543e61a 21-Jun-2018 Nikita Popov <nikita.ppv@gmail.com>

Fixed bug #76509

In PHP static properties are shared between inheriting classes,
unless they are explicitly overwritten. However, because this
functionality was implemented using reference, it was possible
to break the implementation by reassigning the static property
reference.

This is fixed by switching the implementation from using references
to using INDIRECTs, which cannot be affected by userland code.


# 4418d61c 21-Jun-2018 Dmitry Stogov <dmitry@zend.com>

Avoid reusing zend_function.common.prototype for magic things (use reserved fields instead).


# ede39739 02-Jun-2018 Peter Kokot <peterkokot@gmail.com>

Normalize Reflection phpinfo() output

This patch normalizes the Reflection extension version in the phpinfo
output. It removes the Git attributes ident blob object name from Git
repository as an extension version.

Also the table output is synced with other extensions (i.e. enabled
in a row instead of table header).


# f2b4ec4b 31-May-2018 Dmitry Stogov <dmitry@zend.com>

Export standard object handlers, to avoid indirect access


# d90c6f24 29-May-2018 Dmitry Stogov <dmitry@zend.com>

Removed useless zval_ptr_dtor()


# 5eb1f92f 28-May-2018 Dmitry Stogov <dmitry@zend.com>

Use zend_string_release_ex() instread of zend_string_release() in places, where we sure about string persistence.


# 524f5245 08-May-2018 Dmitry Stogov <dmitry@zend.com>

Avoid useless checks, using zend_string_efree(), in cases where the string is known to be a temporary allocated zend_string.


# eafa92ba 03-May-2018 Dmitry Stogov <dmitry@zend.com>

zend_fcall_info_cache.calling_scope is not used by zend_call_function() and doesn't have to be initialized.
It's used only as a result of zend_is_callable() in forward_static_call and spl_autoload.


# 1af60a2a 14-Mar-2018 Dmitry Stogov <dmitry@zend.com>

Keep initialized object_handlers structures in read-only memory.


# 70a1b23c 07-Mar-2018 Anatol Belski <ab@php.net>

Remove unused assignment


# 0f2be28b 12-Feb-2018 Gabriel Caruso <carusogabriel34@gmail.com>

Fix typo


# b4dff683 04-Feb-2018 Nikita Popov <nikita.ppv@gmail.com>

Remove no longer necessary type-name special cases

zend_get_type_by_name() now produces the correct value by itself,
so we no longer need these workarounds.


# 12c386f5 11-Jan-2018 Dmitry Stogov <dmitry@zend.com>

Use ZEND_CLOSURE_OBJECT() macro to resolve closure op_array to closure object through address calculation, instead of op_array->prototype reuse. (reapply 781e1573afdc7c336b3577ceabc9c65cafea17e8, now it should be OK).


# 6ba10a03 11-Jan-2018 Dmitry Stogov <dmitry@zend.com>

Revert "Use ZEND_CLOSURE_OBJECT() macro to resolve closure op_array to closure object through address calculation, instead of op_array->prototype reuse." (this patch is incomplete or wrong)

This reverts commit 781e1573afdc7c336b3577ceabc9c65cafea17e8.


# 781e1573 11-Jan-2018 Dmitry Stogov <dmitry@zend.com>

Use ZEND_CLOSURE_OBJECT() macro to resolve closure op_array to closure object through address calculation, instead of op_array->prototype reuse.


# 64002648 31-Dec-2017 Gabriel Caruso <carusogabriel34@gmail.com>

Trailing whitespaces

Signed-off-by: Gabriel Caruso <carusogabriel34@gmail.com>


# a6519d05 01-Jan-2018 Xinchen Hui <laruence@gmail.com>

year++


# 7a7ec01a 01-Jan-2018 Xinchen Hui <laruence@gmail.com>

year++


# ccd4716e 01-Jan-2018 Xinchen Hui <laruence@gmail.com>

year++


# d9f5ea69 27-Dec-2017 Dmitry Stogov <dmitry@zend.com>

zend_fcall_info_cache.initialized is removed (zend_fcall_info_cache is initialized if zend_fcall_info_cache.function_handler is set).


# 4dfbfe93 18-Dec-2017 Xinchen Hui <laruence@gmail.com>

Use cheaper API


# 9e709e2f 14-Dec-2017 Dmitry Stogov <dmitry@zend.com>

Move constants into read-only data segment


# 084c17fe 29-Nov-2017 Dmitry Stogov <dmitry@zend.com>

Use zend_string_tolower() where it's possible (to avoid reallocations).
Allow zend_string_tolower_ex() to create parsistent strings


# b72b1a4e 25-Nov-2017 Nikita Popov <nikita.ppv@gmail.com>

Add zend_object_alloc() API

Using ecalloc() to create objects is expensive, because the
dynamic-size memset() is unreasonably slow. Make sure we only
zero the main object structure with known size, as the properties
are intialized separately anyway.

Technically we do not need to zero the embedded zend_object
structure either, but as long as the memset argument is constant,
a couple more bytes don't really matter.


# ccc12b82 16-Nov-2017 Dmitry Stogov <dmitry@zend.com>

Avoid unnecessary reference-counting on strings.


# f70ca770 02-Nov-2017 Michael Moravec <mail@majkl578.cz>

Revert BC break caused by fixing bug #74035

This reverts commit 9ffc6ca62f53431a4b32b30cdda8180142f47cdb.


# a8a17a72 01-Nov-2017 Xinchen Hui <laruence@gmail.com>

RC manipulation cleanup


# fcb13fab 31-Oct-2017 Dmitry Stogov <dmitry@zend.com>

Avoid reference counting (the value may be a persistent string)


# 5b044aac 31-Oct-2017 Nikita Popov <nikita.ppv@gmail.com>

Use known strings for reflection properties


# 7b16205f 30-Oct-2017 Nikita Popov <nikita.ppv@gmail.com>

Remove some unnecessary duplications


# fcc08ce1 30-Oct-2017 Dmitry Stogov <dmitry@zend.com>

Prevent reference-counting on persistent zvals (internal constants, default properties and constants of internal classes).
New macro ZVAL_COPY_OR_DUP() is used perform duplication, if necessary.
This should eliminate related race-coditions in ZTS build and prevent reference-counting bugs after unclean shutdown.


# 49ea143b 26-Oct-2017 Dmitry Stogov <dmitry@zend.com>

Encapsulate reference-counting primitives.
Prohibit direct update of GC_REFCOUNT(), GC_SET_REFCOUNT(), GC_ADDREF() and GC_DELREF() shoukf be instead.
Added mactros to validate reference-counting (disabled for now).
These macros are going to be used to eliminate race-condintions during reference-counting on data shared between threads.


# 9cf87aa1 24-Oct-2017 Dmitry Stogov <dmitry@zend.com>

Avoid HashTable allocations for empty arrays (using zend_empty_array).


# ef5ea487 10-Oct-2017 Dmitry Stogov <dmitry@zend.com>

Always use IS_CONSTANT_AST (IS_CONSTANT is removed).


# e70618af 04-Oct-2017 Dmitry Stogov <dmitry@zend.com>

Changed the way VM accesses constant operands in 64-bit builds.


# c900764e 13-Sep-2017 Sammy Kaye Powers <sammyk@sammykmedia.com>

Fix type-o in ext/reflection comment :speech_balloon:


# e36c04ef 27-Jul-2017 Xinchen Hui <laruence@gmail.com>

Fixed bug #74949 (null pointer dereference in _function_string)


# 04fb3f28 25-Jun-2017 Tom Van Looy <tom@ctors.net>

Remove superfluous semicolons


# fdfc5c1b 15-Jun-2017 Remi Collet <remi@php.net>

code de-duplication in ReflectionType::__toString and ReflectionNamedType::getName

This code duplication introduce an inconsistency in displayed type name
- bool (reflection) vs boolean
- int (reflection) vs integer

And reflection already use zend_get_type_by_const in other methods...

Inconsistenty is kept for BC reason.
Could be fixed in 8.0


# d1cfd87f 31-May-2017 Sara Golemon <pollita@php.net>

Allow ReflectionClass::isIterable() to return true for Traversables

Current behavior is essentially "Is an INTERNAL iterable class".
This change allows isIterable() to return true for userspace classes as well.


# c1500f85 31-May-2017 Sara Golemon <pollita@php.net>

Rename ReflectionClass::isIterateable() to isIterable()

Iterateable is not a word.
Add the correct spelling, but keep the original one around
for BC purposes.

Perhaps we can add ZEND_ACC_DEPRECATED at some later date
and even remove it from PHP 8.


# 9c5717d0 30-May-2017 Xinchen Hui <laruence@gmail.com>

Fixed bug #74673 (Segfault when cast Reflection object to string with undefined constant)


# d5c6fcc3 22-Apr-2017 Nikita Popov <nikita.ppv@gmail.com>

Don't leak internal flags in reflection

If someone complains, we may re-expose specific flags while also
adding corresponding class constants for them.


# eb1373e5 12-Feb-2017 Nikita Popov <nikita.ppv@gmail.com>

Revert "Fixed bug #74035"

This reverts commit 9ffc6ca62f53431a4b32b30cdda8180142f47cdb.


# ed4216c9 07-Feb-2017 Julien Pauli <jpauli@php.net>

ReflectionGenerator now sends ReflectionException as expected


# 9ffc6ca6 03-Feb-2017 andrewnester <andrew.nester.dev@gmail.com>

Fixed bug #74035


# a22f1817 17-Jan-2017 Thomas Punt <tpunt@hotmail.co.uk>

Fix ce comparison


# 141d1ba9 13-Jan-2017 Dmitry Stogov <dmitry@zend.com>

Introduced "zend_type" - an abstraction for type-hinting representation.


# a1145c0c 12-Jan-2017 Nikita Popov <nikita.ppv@gmail.com>

Fix memory error in reflection export

Also simplify code while at it ... no point in going through a
smart_str for a single printf.


# dac6c639 04-Jan-2017 Sammy Kaye Powers <sammyk@sammykmedia.com>

Update copyright headers to 2017


# 478f119a 04-Jan-2017 Sammy Kaye Powers <sammyk@sammykmedia.com>

Update copyright headers to 2017


# 9e29f841 02-Jan-2017 Sammy Kaye Powers <sammyk@sammykmedia.com>

Update copyright headers to 2017


# f3f594a4 18-Dec-2016 Nikita Popov <nikic@php.net>

Switch reflection to use smart_str

Instead of yet-another-smart-string-implementation.

Expand the smart_str API by:
* smart_str_extract() which gets a finalized zend_string* from a
smart_str, including insertion of the zero byte and handling of
the empty string case. This should be preferred over using
smart_str_0() in conjunction with str.s.
* smart_str_get_len() which gets the length of the smart_str with
handling of the empty string case.


# e52d2b88 26-Dec-2016 Barbu Paul - Gheorghe <paullik.paul@gmail.com>

Reduce redundant storage of required number of parameters to required flag

The required field, until now, stored how many required parameters
the function, it belongs to, has. I think this is rather problematic
because it's a feature of the function to know how many required
parameters it has, not of the parameter itself. The parameter should
only say if it's required or optional (among other unrelated things).

Also storing the function's number of required parameters in every
parameter was redundant since the _zend_function structure already
has that information. And storing the same value (number of required
parameters) across multiple variables is inefficient and could lead
to inconsistencies.


# 509f26c4 18-Dec-2016 Nikita Popov <nikic@php.net>

Drop some dead code in ext/reflection


# c1af9f28 18-Dec-2016 Nikita Popov <nikic@php.net>

Fix bug #46103


# bdc1ba3e 01-Nov-2016 Dmitry Stogov <dmitry@zend.com>

Intriduced ZEND_ACC_INHERITED class flag.
It's going to be helpful for static optimisations, when "parent" is not known yet.


# 02ba9d71 30-Sep-2016 Nikita Popov <nikic@php.net>

Unwrap reference returns in cufa etc


# f70fb051 27-Sep-2016 Nikita Popov <nikic@php.net>

Don't mark ReflectionType::__toString() as deprecated for now


# bf907b99 21-Sep-2016 Nikita Popov <nikic@php.net>

Revert ReflectionType::__toString() behavior + deprecate


# d690014b 11-Sep-2016 Andrea Faulds <ajf@ajf.me>

Remove zpp fallback code (always use Fast ZPP)

Squashed commit of the following:

commit 3e27fbb3d22b42d181e15c345f1c59a007b6b58c
Author: Andrea Faulds <ajf@ajf.me>
Date: Sun Sep 11 19:14:37 2016 +0100

Keep dummy FAST_ZPP macro for compatibility

commit 8a7cfd00deaa4a3c5026c97580c49c886c72a5b4
Author: Andrea Faulds <ajf@ajf.me>
Date: Mon Sep 5 22:36:03 2016 +0100

Remove FAST_ZPP macro and plain zpp fallback code


# f4e68a39 23-Aug-2016 Levi Morrison <levim@php.net>

Revert "Do not prepend ? on nullables in ReflectionType::__toString()"

This reverts commit 8855a2ce76e8bfba1d2eea1345c765fde7a9a441.


# 8855a2ce 20-Aug-2016 Aaron Piotrowski <aaron@trowski.com>

Do not prepend ? on nullables in ReflectionType::__toString()

Better BC with 7.0.


# dfed09af 20-Aug-2016 Nikita Popov <nikic@php.net>

Fix off-by-one in ReflectionType::__toString()

Review mistake...


# 6e6e81c4 19-Aug-2016 Stanislav Malyshev <stas@php.net>

Revert "Append \ to class name returned from ReflectionType::__toString()"

This reverts commit 20fdd47921f423728b409fd0ae0106dab9c34573.


# 20fdd479 16-Aug-2016 Aaron Piotrowski <aaron@trowski.com>

Append \ to class name returned from ReflectionType::__toString()


# 60de74eb 15-Aug-2016 Xinchen Hui <laruence@gmail.com>

Fixed bug #72846 (getConstant for a array constant with constant values returns NULL/NFC/UKNOWN)


# 622d2f41 09-Aug-2016 Aaron Piotrowski <aaron@trowski.com>

ReflectionType improvements

Added ReflectionNamedType and updated ReflectionType::__toString()


# f706897f 07-Aug-2016 Christoph M. Becker <cmbecker69@gmx.de>

Implement #38992: invoke() and invokeArgs() static method calls should match

We don't want ReflectionMethod::invoke() to simply ignore its first argument,
if the method to invoke is a static method. Instead we match its ZPP with
that of ReflectionMethod::invokeArgs(). Furthermore, we apply the DRY
principle by factoring out the code to a common helper function to prevent
inadvertent future divergence of the implementations of both methods.

As can be seen from the necessity to adapt some test cases, this causes a
BC break for some pathological cases. Therefore we apply this patch to PHP
7.1 only, which is still in beta phase.


# a3a797db 24-Jul-2016 Xinchen Hui <laruence@gmail.com>

Fixed bug #72661 (ReflectionType::__toString crashes with iterable)


# eb190b4e 15-May-2016 nikita2206 <inefedor@gmail.com>

fix: bug72222 for PHP-5.6 reflection export of array consts


# e4b1bfc0 29-Jun-2016 Aaron Piotrowski <aaron@trowski.com>

Add missed return replacing bail out


# 0cfb4765 28-Jun-2016 Dmitry Stogov <dmitry@zend.com>

Fixed compilation warnings


# 323b2733 21-Jun-2016 Dmitry Stogov <dmitry@zend.com>

Fixed compilation warnings


# 771e5cc2 11-Jun-2016 Aaron Piotrowski <aaron@trowski.com>

Replace zend_ce_error with NULL and replace more E_ERROR with thrown Error


# ea355206 01-Jun-2016 Danack <Danack@basereality.com>

Cleanup spurious changes.


# 63ca65da 15-May-2016 Danack <Danack@basereality.com>

Add Closure::fromCallable().

Add the ability to create closures from callable as part of RFC: https://wiki.php.net/rfc/closurefromcallable


# 3684d411 14-May-2016 Joe Watkins <krakjoe@php.net>

fix #72209 (ReflectionProperty::getValue() doesn't fail if object doesn't match type)


# a1ed4ab3 09-May-2016 Nikita Popov <nikic@php.net>

Fixed bug #72174

Also fixes a memory leak if ::getValue() is used with __get().


# 4b0f9586 02-May-2016 Nikita Popov <nikic@php.net>

Add missing update_constants in ReflectionClassConstant

Also fix indentation of __toString().


# 5595dd5f 29-Apr-2016 Nikita Popov <nikic@php.net>

Revert code to use DUP instead of COPY

In a1c405e0c50c627cdd9a7695b4c7d644238b6b9b next to the actual fix
I have also switched some (effective) ZVAL_DUPs to ZVAL_COPYs. I'm
reverting this part as those were probably there for a reason
(presumably issues with non-atomic refcounting on ZTS).


# a1c405e0 29-Apr-2016 Nikita Popov <nikic@php.net>

Fix usages of zend_update_constant_ex

If an in-place update in an external zval is performed, it needs
to incref'd beforehand, not afterwards.


# 6499162f 28-Apr-2016 Dmitry Stogov <dmitry@zend.com>

- get rid of EG(scope). zend_get_executed_scope() should be used instead.
- ichanged zval_update_constant_ex(). Use IS_TYPE_IMMUTABLE flag on shared constants and AST, instead of "inline_change" parameter.


# f0a2e8eb 27-Apr-2016 Dmitry Stogov <dmitry@zend.com>

Removed "zend_fcall_info.function_table". It was assigned in many places, but is never used.


# 64f91774 10-Apr-2016 Nikita Popov <nikic@php.net>

Remove IS_VAR_RET_REF flag

Instead decide whether a function returned by reference or by value
by checking whether the return value has REFERENCE type. This means
that functions returning by reference must always return a reference
and functions returning by value must not return a reference.


# 7abfaac9 01-Apr-2016 Dmitry Stogov <dmitry@zend.com>

Merge zend_execute_data->called_scope into zend_execute_data->This.
"called_scope" made sense only for static method calls, for dynamic calls it was always equal to the class of $this.
Now EG(This) may store IS_OBJECT + $this or IS_UNUSED + "called_scope" (of course, "called_scope" may be NULL).
Some code might need to be adopted to support this change.
Checks (Z_OBJ(EX(This))) might need to be converted into (Z_TYPE(EX(This)) == IS_OBJECT).


# c67c166f 02-Mar-2016 Dmitry Stogov <dmitry@zend.com>

Removed zend_fcall_info.symbol_table


# 8412de9d 28-Jan-2016 Andrea Faulds <ajf@ajf.me>

Support void return type in reflection


# 11cf826b 20-Jan-2016 Joe Watkins <krakjoe@php.net>

fix ReflectionClass::__toString doc block omitted


# b899656e 20-Jan-2016 Joe Watkins <krakjoe@php.net>

fix ReflectionClass::__toString doc block omitted


# 49493a2d 01-Jan-2016 Lior Kaplan <kaplanlior@gmail.com>

Happy new year (Update copyright to 2016)


# 0adbf6de 09-Dec-2015 Xinchen Hui <laruence@gmail.com>

Remove useless check


# c58b0cb4 07-Dec-2015 Dmitry Stogov <dmitry@zend.com>

Removed useless checks


# a75c1950 07-Dec-2015 Dmitry Stogov <dmitry@zend.com>

Implemented the RFC `Support Class Constant Visibility`.

Squashed commit of the following:

commit f11ca0e7a57793fa0e3e7f6d451720e6c42bb0b9
Author: Dmitry Stogov <dmitry@zend.com>
Date: Tue Dec 8 12:38:42 2015 +0300

Fixed test expectation

commit 211f873f542504d0a0f72b6b5cb23908a1c99a2d
Author: Dmitry Stogov <dmitry@zend.com>
Date: Tue Dec 8 12:28:38 2015 +0300

Embed zend_class_constant.flags into zend_class_constants.value.u2.access_flags

commit 51deab84b2cdbf9cdb1a838cf33b2ee45c61748b
Author: Dmitry Stogov <dmitry@zend.com>
Date: Mon Dec 7 11:18:55 2015 +0300

Fixed issues found by Nikita

commit 544dbd5b47e40d38a8ccb96bc5583e9cb7fdd723
Author: Dmitry Stogov <dmitry@zend.com>
Date: Sat Dec 5 02:41:05 2015 +0300

Refactored immplementation of https://wiki.php.net/rfc/class_const_visibility
@reeze created an RFC here and I emailed internals here and didn't get any responses positive/negative.


# 3ae33415 04-Dec-2015 Xinchen Hui <laruence@gmail.com>

Fixed bug #71018 (ReflectionProperty::setValue() behavior changed)


# 6cb6c044 27-Nov-2015 Xinchen Hui <laruence@gmail.com>

Fixed bug #70982 (setStaticPropertyValue behaviors inconsistently with 5.6)


# 95446b44 23-Oct-2015 Xinchen Hui <laruence@gmail.com>

Indents


# bbaf6daa 22-Oct-2015 c9s <yoanlin93@gmail.com>

Fix boolean conversion warnings

Summary:

The compiler complains and raised some warnings about boolean
conversion:

warning: address of 'ce->constants_table' will always evaluate to
'true' [-Wpointer-bool-conversion]

Since the address of 'HashTable' will always evaluate to true. the
condition should be removed. The scope is kept for local variables.

Platform:

OS X 10.11

Compiler:

Apple LLVM version 7.0.0 (clang-700.0.72)
Target: x86_64-apple-darwin15.0.0
Thread model: posix


# 01558e4c 23-Oct-2015 Xinchen Hui <laruence@gmail.com>

Indents


# fdb1da9b 22-Oct-2015 c9s <yoanlin93@gmail.com>

Fix boolean conversion warnings

Summary:

The compiler complains and raised some warnings about boolean
conversion:

warning: address of 'ce->constants_table' will always evaluate to
'true' [-Wpointer-bool-conversion]

Since the address of 'HashTable' will always evaluate to true. the
condition should be removed. The scope is kept for local variables.

Platform:

OS X 10.11

Compiler:

Apple LLVM version 7.0.0 (clang-700.0.72)
Target: x86_64-apple-darwin15.0.0
Thread model: posix


# 60b43551 13-Oct-2015 Bob Weinand <bobwei9@hotmail.com>

Do not create a fake Closure for real Closures
That is solved by just returning the Closure as is, which is safe due to Closures being immutable objects


# 23b372d3 09-Oct-2015 Dmitry Stogov <dmitry@zend.com>

Forbid "fake" closure rebinding


# 6876112c 04-Oct-2015 Xinchen Hui <laruence@gmail.com>

Fixed the third one of (segfault in gc_remove_from_buffer())

This one maybe only used in debug mode, so no bug report and no test
script provided


# 4744eec7 04-Oct-2015 Xinchen Hui <laruence@gmail.com>

Fixed bug #70631 (Another Segfault in gc_remove_from_buffer())


# 715d5d28 13-Aug-2015 Dmitry Stogov <dmitry@zend.com>

Get rid of implicit type casting in GC_*() macros in Zend/zend_types.h.
This prevented compilation warnings and disclosed few incorrect usages in Zend/zend_vm_def.h and ext/dom/xpath.c.
Now explicit type casting may be required on call site.
This may break some C extension code, but it shoulfn't be a problem to add explicit casting.


# 907476f3 05-Jul-2015 Aaron Piotrowski <aaron@trowski.com>

Convert E_ERROR to thrown Error in extensions


# ed1b6487 03-Jul-2015 Aaron Piotrowski <aaron@trowski.com>

Switch position of ce in exception ce variable names


# a812a74c 03-Jul-2015 Aaron Piotrowski <aaron@trowski.com>

Change zend_exception_get_default() to zend_exception_ce


# 4a2e40bb 30-Jun-2015 Dmitry Stogov <dmitry@zend.com>

Use ZSTR_ API to access zend_string elements (this is just renaming without semantick changes).


# 28d7bb97 23-Jun-2015 Rasmus Lerdorf <rasmus@php.net>

Fix more proto comments


# 44b7489f 16-Jun-2015 Nikita Popov <nikic@php.net>

Drop now superflous check for VIA_TRAMPOLINE

This is not handled by USE_ARG_INFO.


# 3180b8e1 16-Jun-2015 Dmitry Stogov <dmitry@zend.com>

Fixed bug #69802 (Reflection on Closure::__invoke borks type hint class name) (onr more problem)


# ed84bff4 16-Jun-2015 Dmitry Stogov <dmitry@zend.com>

Complete fix for problems related to bug #69802


# 33e71d5c 15-Jun-2015 Dmitry Stogov <dmitry@zend.com>

Fixed bug #69802 (Reflection on Closure::__invoke borks type hint class name)


# 1c754f0b 12-Jun-2015 Dmitry Stogov <dmitry@zend.com>

Get rid of more ZVAL_ZVAL() macros


# 8e10e8f9 11-Jun-2015 Dmitry Stogov <dmitry@zend.com>

Avoid zval duplication in ZVAL_ZVAL() macro (it was necessary only in few places).
Switch from ZVAL_ZVAL() to simpler macros where possible (it makes sense to review remaining places)


# ec281fef 08-Jun-2015 Matteo Beccati <mbeccati@php.net>

Reflection support for type hints and return types


# cf8898fb 15-Feb-2015 Sara Golemon <pollita@php.net>

Merge remote-tracking branch 'pollita/reflection.typehint'

Conflicts:
ext/reflection/php_reflection.c
ext/reflection/tests/ReflectionExtension_getClasses_basic.phpt


# 104f6c5e 17-May-2015 Reeze Xia <reeze@php.net>

Avoid possible uninitialized value assignment


# aa3c7aa4 14-May-2015 Bob Weinand <bobwei9@hotmail.com>

Add ReflectionGenerator class


# 8bdec7a2 13-May-2015 olshevskiy87 <olshevskiy87@bk.ru>

fix typos

Signed-off-by: olshevskiy87 <olshevskiy87@bk.ru>


# c0c68a94 05-May-2015 Nikita Popov <nikic@php.net>

Fix build


# 49608e06 26-Apr-2015 krakjoe <joe.watkins@live.co.uk>

Rebase Joe's anon classes implementation


# dad622bf 14-Apr-2015 Levi Morrison <levim@php.net>

Fix bug #69448

ReflectionClass::newInstanceWithoutConstructor should not call
object_init_ex when the class is internal and final. This is because
the class dtor may rely on the ctor being called and in some cases
this will cause a segfault.


# 5e8133f4 10-Apr-2015 Dmitry Stogov <dmitry@zend.com>

Squashed commit of the following:

commit 2399fc84c541da9c2176c5b7f6dd039a3c84dc64
Author: Dmitry Stogov <dmitry@zend.com>
Date: Fri Apr 10 12:38:08 2015 +0300

Removed useless assignment

commit 796b6338174348eee0d74a67706d77b7ce1a60c3
Author: Dmitry Stogov <dmitry@zend.com>
Date: Fri Apr 10 12:35:31 2015 +0300

Fixed execution with overriden zend_execute_ex()

commit 4a9fb125aa999059f8bc42ebb6ee573c7866b35b
Author: Dmitry Stogov <dmitry@zend.com>
Date: Fri Apr 10 02:02:58 2015 +0300

Fixed executor without global registers

commit d456c30e00589ccda35a4b57ae903ef2d3c07d95
Author: Dmitry Stogov <dmitry@zend.com>
Date: Fri Apr 10 01:30:35 2015 +0300

Restored original behavior for tests/classes/__call_004.phpt

commit 479646d37fef050536f1afb12b082618f1f1a3d0
Author: Dmitry Stogov <dmitry@zend.com>
Date: Fri Apr 10 00:32:17 2015 +0300

Fixed test. We don't keep stack frame for fake function anymore.

commit 9ae61e33e24b2c811d4ab1ca4ab22847c64a780e
Author: Dmitry Stogov <dmitry@zend.com>
Date: Fri Apr 10 00:30:09 2015 +0300

Use ZEND_ACC_CALL_VIA_TRAMPOLINE instead of ZEND_ACC_CALL_VIA_HANDLER. Keep ZEND_ACC_CALL_VIA_HANDLER for compatibility.

commit 0a8403a2a0c27aa3db271774f8559739a6b8400e
Author: Dmitry Stogov <dmitry@zend.com>
Date: Fri Apr 10 00:05:43 2015 +0300

Rename PROXY_CALL into CALL_TRAMPLINE.
Generalize API to allow reuse EG(trampline) for other purposes.

commit 4ea0525c10554e36185a0b8b6303106813b6a1c2
Author: Dmitry Stogov <dmitry@zend.com>
Date: Thu Apr 9 23:22:25 2015 +0300

Reuse EG(proxy_call_op) for all proxy. Move proxy related functions from zend_objects_API to zend_object_handlers.

commit 529bf737ca388ad56fb4ae20ccb81e6276f25ec0
Author: Dmitry Stogov <dmitry@zend.com>
Date: Thu Apr 9 21:42:23 2015 +0300

Accurate use of proxy_call

commit 5d62837d5ba3855743fe1981786ebd65d9da0b63
Merge: 83e749f 690843f
Author: Dmitry Stogov <dmitry@zend.com>
Date: Thu Apr 9 19:40:00 2015 +0300

Merge branch 'master' into opcodefy-call

* master:
Fixed GOTO executor
Fixed typo
Changed ArrayIterator implementation using zend_hash_iterator_... API. Allowed modification of itterated ArrayObject using the same behavior as proposed in `Fix "foreach" behavior`. Removed "Array was modified outside object and internal position is no longer valid" hack.

commit 83e749ff3b6623e39b236a72e9b907d5b788ae5e
Author: Dmitry Stogov <dmitry@zend.com>
Date: Thu Apr 9 19:39:10 2015 +0300

Improved ZEND_PROXY_CALL

commit 0c829afc534e6d5ff27a0dea3a4815da303bd1ef
Author: Dmitry Stogov <dmitry@zend.com>
Date: Thu Apr 9 15:14:49 2015 +0300

Reverted white-space changes

commit df65144488afa3e9020d75e1ada5529b138afc5a
Merge: 5fd2f97 97756d9
Author: Dmitry Stogov <dmitry@zend.com>
Date: Thu Apr 9 14:37:07 2015 +0300

Merge branch 'opcodefy-call' of github.com:laruence/php-src into opcodefy-call

* 'opcodefy-call' of github.com:laruence/php-src:
Ready for PR
Fixed static call
Improve performance by using prealloated op_arrray
Respect called_scope
Support internal magical __call/__callStatic
opcode-fy magical __callStatic
Opcode-fy magical __call

commit 97756d9190e07a072a7b48135304dc25a964845f
Author: Xinchen Hui <laruence@gmail.com>
Date: Thu Apr 9 19:07:59 2015 +0800

Ready for PR

commit 74f993084627061e783645a866390b68e2981698
Author: Xinchen Hui <laruence@gmail.com>
Date: Thu Apr 9 19:03:00 2015 +0800

Fixed static call

commit ec1d9eb592db0c3b7b0e3d21e7f445ed8bccfd4d
Author: Xinchen Hui <laruence@gmail.com>
Date: Thu Apr 9 18:23:17 2015 +0800

Improve performance by using prealloated op_arrray

commit df7fbbf949c99f2c5ae3da2a1199235651c7cc82
Author: Xinchen Hui <laruence@gmail.com>
Date: Thu Apr 9 15:10:02 2015 +0800

Respect called_scope

commit 769d1d59fb48b6f7f93d7412eefbf26135fa3e59
Author: Xinchen Hui <laruence@gmail.com>
Date: Thu Apr 9 12:19:23 2015 +0800

Support internal magical __call/__callStatic

commit a980fedd5b0e0683713dd4f6eaad62adf4b4732f
Author: Xinchen Hui <laruence@gmail.com>
Date: Wed Apr 8 18:35:41 2015 +0800

opcode-fy magical __callStatic

commit 73855f7d53baa2efc2b8a88314f51c784c81b59d
Author: Xinchen Hui <laruence@gmail.com>
Date: Wed Apr 8 14:21:55 2015 +0800

Opcode-fy magical __call


# 122d7596 02-Apr-2015 Nikita Popov <nikic@php.net>

Always throw TypeException on throwing zpp failures

Introduces a ZEND_PARSE_PARAMS_THROW flag for zpp, which forces to
report FAILURE errors using a TypeException instead of a Warning,
like it would happen in strict mode.

Adds a zend_parse_parameters_throw() convenience function, which
invokes zpp with this flag.

Converts all cases I could identify, where we currently have
throwing zpp usage in constructors and replaces them with this API.
Error handling is still replaced to EH_THROW in some cases to handle
other, domain-specific errors in constructors.


# ea09a9fa 01-Apr-2015 Dmitry Stogov <dmitry@zend.com>

Convert fatal errors into EngineExceptions
Make zval_update_constant_ex(), zval_update_constant(), zend_update_class_constants() and zend_ast_evaluate() return SUCCESS or FAILURE.


# 1018f462 30-Mar-2015 Dmitry Stogov <dmitry@zend.com>

Patch improvement:

Removed the corresponding core code.
Fixed ext/com_dotnet and ext/date.
Refactored ext/intl changes.
Improved ext/fileinfo and ext/pdo changes.
Fixed tests.


# 663074b6 23-Mar-2015 Anatol Belski <ab@php.net>

cleanup mod version macros and mod defs, round x


# d146d150 19-Mar-2015 Dmitry Stogov <dmitry@zend.com>

Optimize zend_string_realloc() add more specialized versions zend_string_extend() and zend_string_truncate()


# 7409fd4b 14-Mar-2015 Reeze Xia <reeze@php.net>

Fix folder mark


# 86336856 12-Mar-2015 Dmitry Stogov <dmitry@zend.com>

Use specialized macro for string zval creation


# a519838e 01-Mar-2015 Danack <Danack@basereality.com>

Fixed ReflectionExtension and ReflectionProperty.


# 043a0260 01-Mar-2015 Danack <Danack@basereality.com>

Fixed ReflectionFunction, ReflectionMethod and ReflectionParameter.


# d8511370 20-Feb-2015 Dmitry Stogov <dmitry@zend.com>

Lazy duplication of op_array->static_variables


# 240fbd36 12-Feb-2015 Nikita Popov <nikic@php.net>

Add test to ensure ReflectionClass works correctly with traits

Some of these were not working correctly before Guilherme's patch.
Another was broken by it and is fixed in this commit as well.


# 8c81d80e 12-Feb-2015 Guilherme Blanco <guilhermeblanco@hotmail.com>

Made ZEND_ACC_TRAIT a saner value

CC_TRAIT valued as 0x120 is too magical to be comprehensible by others.


# 2b3bebfa 10-Feb-2015 Bob Weinand <bobwei9@hotmail.com>

Revert removal of two ReflectionParameter functions
Rather fix them for now by exempting function parameter defaults from *any* (non-ct) constant substitution (also from persistent constant substitution, which was already broken before)


# 830d3d79 10-Feb-2015 Bob Weinand <bobwei9@hotmail.com>

Revert "Revert "Improve and generalize class constant substitution""

This reverts commit 400e65e955f08ad6ae57c1a15be04d5852107252.

Removing ReflectionParameter::getDefaultValueConstantName() and isDefaultValueConstant()
They become useless with such optimizations and already anyway are (e.g. CONSTANT?:CONSTANT ... yields the constant back without telling isDefaultValueConstant() about it etc.)


# 1eb43521 10-Feb-2015 Dmitry Stogov <dmitry@zend.com>

Use new ZEND_HASH_FOREACH_... API.


# 9e70d767 04-Feb-2015 Dmitry Stogov <dmitry@zend.com>

Move zend_object->guards into additional slot of zend_object->properties_table[]. As result size of objects without __get/__set/__unset/__isset magic methods is reduced.


# c8576c5a 08-Jan-2015 Levi Morrison <levim@php.net>

Implement return types

RFC is documented here: https://wiki.php.net/rfc/return_types


# 3e31838d 22-Jan-2015 Dmitry Stogov <dmitry@zend.com>

zend_read_property() has to provide a holder for return value.
Previously it was possible that zend_read_property() returned pointer to zval allocated on stack.


# 66218409 20-Jan-2015 Joshua Rogers <git@internot.info>

Fix uninitalized variables reads. See CWE-457 for more info.


# fc33f52d 15-Jan-2015 Xinchen Hui <laruence@php.net>

bump year


# 0579e827 15-Jan-2015 Xinchen Hui <laruence@php.net>

bump year


# 73c1be26 15-Jan-2015 Xinchen Hui <laruence@php.net>

Bump year


# 7e93de10 13-Jan-2015 Dmitry Stogov <dmitry@zend.com>

Handle run-time cache for static properties directly in executor.
Removed cache_slot argument in zend_std_get_static_property() and zend_std_unset_static_property().


# b7a7b1a6 03-Jan-2015 Stanislav Malyshev <stas@php.net>

trailing whitespace removal


# 2d212b42 23-Dec-2014 Nikita Popov <nikic@php.net>

Drop duplicate arg from hash_get_current_key_ex


# 2646f7bc 22-Dec-2014 Dmitry Stogov <dmitry@zend.com>

Don't count variadic argument in zend_func.common.num_args. This allows faster CALL/RETURN code.


# bdeb220f 13-Dec-2014 Anatol Belski <ab@php.net>

first shot remove TSRMLS_* things


# 094d409b 22-Nov-2014 Guilherme Blanco <guilhermeblanco@hotmail.com>

Removed ZEND_ACC_FINAL_CLASS which is unnecessary. This also fixed some currently defined classes as final which were just not being considered as such before.


# 14e29f51 12-Dec-2014 Dmitry Stogov <dmitry@zend.com>

Reduced size of zend_op on 64-bit systems.

the main idea - the smaller the zend_op structure, the lees memory traffic is required to load VM instructions during execution. The patch reduces the size of each opcode from 48 to 32 bytes (saves 16 bytes for each opcode, and applications use thousands of opoceds). This reduced the number of CPU cache misses by 12% and improved performance of real-life apps by 1-2%.

The patch affects how constants and jump targets are represented in VM during execution. Previously they were implemented as absolute 64-bit pointers. Now they are relative 32-bit offsets.

In run-time constant now should be accessed as:
RT_CONSTANT(op_array, opine->op1) instead of opline->op1.zv
EX_CONSTANT(opline->op1) instead of opline->op1.zv

Jump targets:
OP_JMP_ADDR(opline, opline->op2) instead of opline->op2.jmp_addr

The patch doesn't change zend_op representation for 32-bit systems. They still use absolute addresses. The compile-time representation is also kept the same.


# 5dd427ea 03-Dec-2014 Dmitry Stogov <dmitry@zend.com>

Use zend_string* for op_array->arg_info[]->name and op_array->arg_info[]->class_name. For internal functions we still use char*.


# 3b4a6dc1 14-Nov-2014 Anatol Belski <ab@php.net>

removed useless check

the offset member is an unsigned


# 75041379 06-Nov-2014 Dmitry Stogov <dmitry@zend.com>

Improved object property access.


# 89769576 29-Oct-2014 Anatol Belski <ab@php.net>

fix datatype mismatches

sizeof(struct _string) doesn't increase.


# 7471c217 17-Oct-2014 Dmitry Stogov <dmitry@zend.com>

Optimized property access handlers. Removed EG(std_property_info).


# 0490a322 15-Oct-2014 Anatol Belski <ab@php.net>

more exts converted for static tsrm ls pointer

mbstring, pcre, reflection


# c4ab08ac 12-Oct-2014 Nikita Popov <nikic@php.net>

Fix invalid zend_string_frees in reflection

zend_lookup_class can share the name


# ee5b30fa 09-Oct-2014 Nikita Popov <nikic@php.net>

Remove support for classes without class entries

get_class_entry must be non-NULL and return non-NULL.


# b3869914 04-Oct-2014 Johannes Schlüter <johannes@php.net>

Fix accidental edit in previous commit


# 136dd53a 04-Oct-2014 Johannes Schlüter <johannes@php.net>

Fix arginfo


# bd9a2346 03-Oct-2014 Dmitry Stogov <dmitry@zend.com>

Replaced EG(This) and EX(object) with EX(This).
Internal functions now recieves zend_execute_data as the first argument.


# efa7f87d 26-Sep-2014 Remi Collet <remi@php.net>

Fixed bug #68103 Dupplicate entry in Reflection

$ php -r '$r=new ReflectionExtension("pthreads"); print_r($r->getClassNames());'
Array
(
[0] => Threaded
[1] => stackable
[2] => Thread
[3] => Worker
[4] => Mutex
[5] => Cond
[6] => Collectable
[7] => Pool
)

In getClasses() output, it is possible to compare key (ex "stackable")
with $obj->name (ex "Threaded") to detect class alias.

...
[Threaded] => ReflectionClass Object
(
[name] => Threaded
)
[stackable] => ReflectionClass Object
(
[name] => Threaded
)
...


# 51901c9f 22-Sep-2014 krakjoe <joe.watkins@live.co.uk>

swap some standard module properties _ex for std mod properties


# b3aebda9 20-Sep-2014 krakjoe <joe.watkins@live.co.uk>

native tls initial patch


# d0cb7153 19-Sep-2014 Johannes Schlüter <johannes@php.net>

s/PHP 5/PHP 7/


# bccc6531 19-Sep-2014 Dmitry Stogov <dmitry@zend.com>

Avoid double IS_INTERNED() check


# 079409bb 15-Sep-2014 Nikita Popov <nikic@php.net>

Switch (un)mangle property name to size_t and zend_string

Also use the _ex variants where possible.


# ebc6da56 13-Sep-2014 Nikita Popov <nikic@php.net>

zend_get_property_info takes a zend_string* now


# 734d0b6b 14-Sep-2014 Anatol Belski <ab@php.net>

use nice way to achieve the property name length


# f1ba5389 13-Sep-2014 Anatol Belski <ab@php.net>

reduce struct size by 8 bytes on 64 bit


# 0b40abf4 13-Sep-2014 Anatol Belski <ab@php.net>

avoid repeated strlen() usage


# e51677b2 02-Sep-2014 Dmitry Stogov <dmitry@zend.com>

fixed reference counting


# 88d7ca44 01-Sep-2014 Dmitry Stogov <dmitry@zend.com>

Refactored INI subsystem to use zend_string* instead of char*


# 257ed406 27-Aug-2014 Anatol Belski <ab@php.net>

's' works with size_t round 2


# 32344808 27-Aug-2014 Anatol Belski <ab@php.net>

first show to make 's' work with size_t


# 202e8db1 26-Aug-2014 Anatol Belski <ab@php.net>

fixed several long vs zend_long casts


# 6f9f0bf2 25-Aug-2014 Anatol Belski <ab@php.net>

master renames phase 2


# c3e3c98e 25-Aug-2014 Anatol Belski <ab@php.net>

master renames phase 1


# fb8c4110 21-Aug-2014 Anatol Belski <ab@php.net>

fix zpp


# 1169de3e 16-Aug-2014 Anatol Belski <ab@php.net>

fix some cases with fast zpp


# cb25136f 16-Aug-2014 Anatol Belski <ab@php.net>

fix macros in the 5 basic extensions


# 87afa6bd 14-Aug-2014 Tjerk Meesters <datibbaw@php.net>

Fixes missing Reflector interface constraints being enforced by the engine


# b8517e41 12-Aug-2014 Dmitry Stogov <dmitry@zend.com>

cleanup


# be010e26 30-Jul-2014 Xinchen Hui <laruence@php.net>

Fixed getDefaultProperties (it should not return reference)


# d18b1624 30-Jul-2014 Ferenc Kovacs <tyrael@php.net>

update the exception message to better match the actual check


# d586441d 23-Jul-2014 Ferenc Kovacs <tyrael@php.net>

ReflectionClass::newInstanceWithoutConstructor() should be allowed to instantiate every class except those internal classes with a final __construct()


# d909b633 23-Jul-2014 Dmitry Stogov <dmitry@zend.com>

Fixed crash on self-referencing constant expression (part of a constant AST)


# 27f38798 11-Jul-2014 Dmitry Stogov <dmitry@zend.com>

Fast parameter parsing API

This API is experemental. It may be changed or removed.
It should be used only for really often used functions.
(Keep the original parsing code and wrap usage with #ifndef FAST_ZPP)


# 2ed8a170 07-Jul-2014 Dmitry Stogov <dmitry@zend.com>

Refactored run_time_cache usage in object handlers


# 909acec2 16-Jun-2014 Dmitry Stogov <dmitry@zend.com>

Avoid useles constants update


# c9062917 27-May-2014 Dmitry Stogov <dmitry@zend.com>

Use new zend_hash API


# d8651fbe 03-May-2014 Xinchen Hui <laruence@gmail.com>

Make they are in the same style of Z_ISREF


# 17d027ed 30-Apr-2014 Dmitry Stogov <dmitry@zend.com>

Split IS_BOOL into IS_FALSE and IS_TRUE


# 5864ce8a 22-Apr-2014 Dmitry Stogov <dmitry@zend.com>

Fixed compilation warnings


# 4ed452c1 21-Apr-2014 Dmitry Stogov <dmitry@zend.com>

Convert zval_get_string() into "fast path" macro and "slow path" function


# 0d43a277 21-Apr-2014 Nikita Popov <nikic@php.net>

Use zval_get_string in a few more places


# bda96e3c 21-Apr-2014 Nikita Popov <nikic@php.net>

Use zval_get_string in print_zval and propagate TSRMLS


# afe66d89 21-Apr-2014 Dmitry Stogov <dmitry@zend.com>

Cleanup


# e96073b1 17-Apr-2014 Dmitry Stogov <dmitry@zend.com>

Moved zend_literal->cache_slot right into zval.
It should be accessed using Z_CACHE_SLOT() macro.
zend_literal structure is removed.
API functions that accepted pointer to zend_literal now accept pointer to zval or cache_slot directly.
Calls of such functiond that now accept cache_slot need to be changed to pass -1 instead of NULL.


# cc576c74 16-Apr-2014 Dmitry Stogov <dmitry@zend.com>

op_array->function_name, op_array->doc_comments and op_array->filename may be kept in opcache SHM


# c44eee15 16-Apr-2014 Dmitry Stogov <dmitry@zend.com>

Fixed reference counting


# f9b26bc3 15-Apr-2014 Dmitry Stogov <dmitry@zend.com>

Cleanup (2-nd round)


# 050d7e38 15-Apr-2014 Dmitry Stogov <dmitry@zend.com>

Cleanup (1-st round)


# 5dc52e48 14-Apr-2014 Dmitry Stogov <dmitry@zend.com>

Fixed interface constants inheritance.
Now we use IS_REFERENCE for inhereted class constants.
I might miss some edje cases.


# 35b895fd 11-Apr-2014 Bob Weinand <bobwei9@hotmail.com>

Removed useless void* parameter and replaced with zend_bool on zval_update_constant* functions


# 20f2e598 09-Apr-2014 Nikita Popov <nikic@php.net>

Fix ZTS build

This only makes it compile, it doesn't actually work, presumably
because interned strings are assumed in some places.


# 7402af38 08-Apr-2014 Dmitry Stogov <dmitry@zend.com>

Fixed destruction of objects and iterators on unclean request shutdown and GC (few cases are still unfixed).
Now we destroy objects it two steps. At first - object properties of all objects and only then the objects their selves.


# 3bc8810b 03-Apr-2014 Dmitry Stogov <dmitry@zend.com>

Constant duplication optimization
Argument receiving optimization


# 76cc99fe 03-Apr-2014 Dmitry Stogov <dmitry@zend.com>

Refactored ZVAL flags usage to simplify various checks (e.g. Z_REFCOUNTED(), candidate for GC, etc)


# d8099d04 02-Apr-2014 Dmitry Stogov <dmitry@zend.com>

Changed data layout to allow more efficient operations


# 6b2ed577 01-Apr-2014 Dmitry Stogov <dmitry@zend.com>

Avoid unnecessry reallocations


# 042c937f 01-Apr-2014 Dmitry Stogov <dmitry@zend.com>

Use STR_COPY() instead of STR_DUP() where possible


# a25a1ba0 01-Apr-2014 Dmitry Stogov <dmitry@zend.com>

STR_DUP() doesn't duplicate interned strings anymore. In case new string is required STR_INIT() or STR_ALLOC() should be used.


# ea85451b 27-Mar-2014 Dmitry Stogov <dmitry@zend.com>

Refactored data structures to keep zend_object* instead of a whole zval in some places


# 887189ca 26-Mar-2014 Dmitry Stogov <dmitry@zend.com>

Refactored IS_INDIRECT usage for CV and object properties to support HashTable resizing


# b7938ab1 19-Mar-2014 Dmitry Stogov <dmitry@zend.com>

Refactored GC (incomplete)


# 648f1081 16-Mar-2014 Xinchen Hui <laruence@gmail.com>

Fixed function name comparation


# 7d8e990f 16-Mar-2014 Xinchen Hui <laruence@gmail.com>

Fixed add_ref asseration fail


# 897a4d25 16-Mar-2014 Xinchen Hui <laruence@gmail.com>

Refactor reflection_object to fix bug after default_properties changed


# 466dbfee 16-Mar-2014 Xinchen Hui <laruence@gmail.com>

Fixed NULL pointer dereference


# 37337373 05-Mar-2014 Dmitry Stogov <dmitry@zend.com>

Handle interned strings as non-refcounted scalars


# 040dea8b 05-Mar-2014 Dmitry Stogov <dmitry@zend.com>

Arguments taken by internal functions using zend_parse_parameters() with "+" and "*" specifications must not be deallocated anymore.


# 19670c2b 04-Mar-2014 Dmitry Stogov <dmitry@zend.com>

Fixied calling object closures from internal functions


# 6ed82f71 02-Mar-2014 Xinchen Hui <laruence@gmail.com>

Use zend_string to avoid memleak


# 8cb468d5 02-Mar-2014 Xinchen Hui <laruence@gmail.com>

Fixed wrong condition (introduced by previous ci)


# 18363f42 02-Mar-2014 Xinchen Hui <laruence@gmail.com>

Fixed invalid free


# 35742a74 02-Mar-2014 Xinchen Hui <laruence@gmail.com>

Fixed zend_string


# 4eeee08e 02-Mar-2014 Xinchen Hui <laruence@gmail.com>

Fixed getClosureThis()


# 30c20084 02-Mar-2014 Xinchen Hui <laruence@gmail.com>

Fixed memory leak


# 26e993a7 02-Mar-2014 Xinchen Hui <laruence@gmail.com>

Fixed zend_string


# 8d2c1f58 02-Mar-2014 Xinchen Hui <laruence@gmail.com>

Fixed refcounting


# ff5870a2 02-Mar-2014 Xinchen Hui <laruence@gmail.com>

Fixed reflection (incompeleted)


# b353d5ab 28-Feb-2014 Xinchen Hui <laruence@gmail.com>

Fixed un-initilized iterator in DirectoyItrator


# a5ce7d52 28-Feb-2014 Xinchen Hui <laruence@gmail.com>

Revert "Move zend_objects_store_put out of zend_object_std_init"

This reverts commit 8ced4f0ac906fd9a28b968801487630326c45bc8.


# 8ced4f0a 27-Feb-2014 Xinchen Hui <laruence@gmail.com>

Move zend_objects_store_put out of zend_object_std_init


# 4a1ecf0e 25-Feb-2014 Dmitry Stogov <dmitry@zend.com>

Reflection related fixes


# c077742b 25-Feb-2014 Dmitry Stogov <dmitry@zend.com>

Fixed reflection object destruction


# f4cfaf36 10-Feb-2014 Dmitry Stogov <dmitry@zend.com>

Use better data structures (incomplete)


# c081ce62 03-Jan-2014 Xinchen Hui <laruence@php.net>

Bump year


# 47c90277 03-Jan-2014 Xinchen Hui <laruence@php.net>

Bump year


# c0d060f5 03-Jan-2014 Xinchen Hui <laruence@php.net>

Bump year


# 61252782 19-Dec-2013 Anatol Belski <ab@php.net>

more semantical replacements LONG vs. INT


# f58d0b35 19-Dec-2013 Anatol Belski <ab@php.net>

massive update semantical LONG vs INT replacements


# b1abe4ca 18-Dec-2013 Anatol Belski <ab@php.net>

mass replacement for zend_size_t/php_size_t


# 3e963f8e 10-Dec-2013 Remi Collet <remi@php.net>

Fixed Bug #66218 zend_register_functions breaks reflection

Functions registered using zend_register_functions instead of zend_module_entry.functions are not seen on reflection.

Ex: additional_functions from api_module_entry.
Ex: in CLI, dl, cli_set_process_title and cli_get_process_title

Note:
- also affects functions overrided in extension
(should be be reported in extension, where overrided, not in original extension)
- also allow extension to call zend_register_functions for various list
(instead of having a single bug list)


# de99f93a 07-Nov-2013 Anatol Belski <ab@php.net>

fix datatype for hash vars


# b45043a1 01-Nov-2013 Bob Weinand <bobwei9@hotmail.com>

converted several switches to ifs and made more opcache friendly


# 23617458 31-Oct-2013 Bob Weinand <bobwei9@hotmail.com>

Working commit for constant scalar expressions (with constants).
Tests will follow.


# a5cda49f 23-Aug-2013 Anatol Belski <ab@php.net>

fixes to reflection


# 0cd95c1e 02-Jul-2013 Anthony Ferrara <ircmaxell@gmail.com>

Get basic language tests to all pass (minus xfails)


# e6f90ecc 02-Jul-2013 Anthony Ferrara <ircmaxell@gmail.com>

It compiles. Sort-of. In a way. Yeah. But nothing works. Sigh


# 0d7a6388 26-Sep-2013 Nikita Popov <nikic@php.net>

Implement variadic function syntax

As per RFC: https://wiki.php.net/rfc/variadics


# ff233b59 23-Aug-2013 Anatol Belski <ab@php.net>

fixes to reflection


# 8d86597d 23-Jul-2013 Veres Lajos <vlajos@gmail.com>

non living code related typo fixes


# 3db6b511 02-Jul-2013 Anthony Ferrara <ircmaxell@gmail.com>

Get basic language tests to all pass (minus xfails)


# 6e008d40 02-Jul-2013 Anthony Ferrara <ircmaxell@gmail.com>

It compiles. Sort-of. In a way. Yeah. But nothing works. Sigh


# 39a173b7 21-Mar-2013 Xinchen Hui <laruence@php.net>

Fix bug in reflectionClass relate to #64239


# e6bde1f8 22-Jan-2013 Xinchen Hui <laruence@php.net>

Fix test related to change for #bug64007 and also fix in newInstanceArgs


# f7b99c48 19-Jan-2013 Xinchen Hui <laruence@php.net>

Fixed bug #64007 (There is an ability to create instance of Generator by hand).

Use get_constrctor instead of access of the ce->constructor directly


# a666285b 01-Jan-2013 Xinchen Hui <laruence@php.net>

Happy New Year


# 0a7395e0 01-Jan-2013 Xinchen Hui <laruence@php.net>

Happy New Year


# a2045ff3 01-Jan-2013 Xinchen Hui <laruence@php.net>

Happy New Year~


# df3b9a1e 27-Nov-2012 Xinchen Hui <laruence@php.net>

Fixed Bug #63614 (Fatal error on Reflection)


# 7886f46b 31-Oct-2012 Xinchen Hui <laruence@php.net>

Fixed bug #63399 (ReflectionClass::getTraitAliases() incorrectly resolves traitnames)


# ad0da9ae 02-Sep-2012 Reeze Xia <reeze.xia@gmail.com>

Implemented ReflectionFunction::isGenerator()


# 7a56ac00 22-Aug-2012 Felipe Pena <felipensp@gmail.com>

- Fixed bug #62892 (ReflectionClass::getTraitAliases crashes on importing trait methods as private)


# 170ee90b 02-Aug-2012 Xinchen Hui <laruence@php.net>

Fixed bug that can not get default value of parameter if it's not `optional`


# 49b202f2 02-Aug-2012 Xinchen Hui <laruence@php.net>

Fixed bug that can not get default value of parameter if it's not `optional`


# 10642aa9 01-Aug-2012 Xinchen Hui <laruence@php.net>

Fixed bug #62715 (ReflectionParameter::isDefaultValueAvailable() wrong result)


# b025b9d0 27-Jun-2012 Johannes Schlüter <johannes@php.net>

Fix #62432 ReflectionMethod random corrupt memory on high concurrent

This fixes the same issue in multiple extensions. This isn't needed
in later branches as 5.4 introduced object_properties_init()


# c3f34796 23-Jun-2012 Felipe Pena <felipensp@gmail.com>

- Improved fix for #62384


# b8e946b0 22-Jun-2012 Felipe Pena <felipensp@gmail.com>

- Fixed bug #62384 (Attempting to invoke a Closure more than once causes segfaul)


# 1f5327a6 01-Jun-2012 Xinchen Hui <laruence@php.net>

Fixed Bug #62202 (ReflectionParameter::getDefaultValue() memory leaks with constant)


# 13a95553 31-May-2012 Reeze Xia <reeze.xia@gmail.com>

Implemented FR #61602 Allow access to name of constant used as default value

This is an improved commit for FR #61602, this fixed the previous
commit 054f3e3's C99 compiler compatibility issue


# df481764 23-May-2012 Xinchen Hui <laruence@php.net>

Revert "Implemented FR #61602 Allow access to name of constant used as default value"

This reverts commit 054f3e3ce5af13c2c3a6ccd54f7dc3e2f6cd4f74.

See: http://news.php.net/php.cvs/69137 and the author confirmed.
Will commit later after the author fixed this then make a new PR.

Conflicts:

ext/reflection/php_reflection.c


# f733173b 23-May-2012 Xinchen Hui <laruence@php.net>

Fix typo while resolving conflicts


# a7df6ce6 23-May-2012 Xinchen Hui <laruence@php.net>

Revert "Implemented FR #61602 Allow access to name of constant used as default value"

This reverts commit 054f3e3ce5af13c2c3a6ccd54f7dc3e2f6cd4f74.

See: http://news.php.net/php.cvs/69137 and the author confirmed.
Will commit later after the author fixed this then make a new PR.

Conflicts:

ext/reflection/php_reflection.c


# 6712d0d2 04-Apr-2012 reeze <reeze.xia@gmail.com>

Fixed CODING_STANDARD and move parameter parse code


# 054f3e3c 03-Apr-2012 reeze <reeze.xia@gmail.com>

Implemented FR #61602 Allow access to name of constant used as default value


# f7b10aba 20-Mar-2012 David Soria Parra <dsp@php.net>

Replace $Revision$ with $Id$ in keyword expansion enable files


# 773bedb1 18-Mar-2012 Gustavo André dos Santos Lopes <cataphract@php.net>

- Fixed bug #61388 (ReflectionObject:getProperties() issues invalid reads
when get_properties returns a hash table with (inaccessible) dynamic
numeric properties).


# 920072df 18-Mar-2012 Gustavo André dos Santos Lopes <cataphract@php.net>

- Fixed bug #61388 (ReflectionObject:getProperties() issues invalid reads
when get_properties returns a hash table with (inaccessible) dynamic
numeric properties).


# 227112cb 18-Mar-2012 Gustavo André dos Santos Lopes <cataphract@php.net>

- Fixed bug #61388 (ReflectionObject:getProperties() issues invalid reads
when get_properties returns a hash table with (inaccessible) dynamic
numeric properties).


# e83f0261 02-Mar-2012 Xinchen Hui <laruence@php.net>

MFH: Fixed bug #60968 (Late static binding doesn't work with ReflectionMethod::invokeArgs())


# 30f63e41 03-Feb-2012 Xinchen Hui <laruence@php.net>

Fixed bug #60968 (Late static binding doesn't work with ReflectionMethod::invokeArgs())


# d2ca448f 03-Feb-2012 Xinchen Hui <laruence@php.net>

Fixed bug #60968 (Late static binding doesn't work with ReflectionMethod::invokeArgs())


# ebddf8a9 17-Jan-2012 Sebastian Bergmann <sebastian@php.net>

Revert r322390.


# e76c1cc0 17-Jan-2012 Sebastian Bergmann <sebastian@php.net>

Implement ReflectionClass::setFinal() and ReflectionMethod::setFinal().

Patch by Jan Dolecek <juzna.cz@gmail.com>.


# e4ca0ed0 01-Jan-2012 Felipe Pena <felipe@php.net>

- Year++


# 8775a375 01-Jan-2012 Felipe Pena <felipe@php.net>

- Year++


# 4e198252 01-Jan-2012 Felipe Pena <felipe@php.net>

- Year++


# 3db55c82 24-Nov-2011 Xinchen Hui <laruence@php.net>

Fixed bug #60367 (Reflection and Late Static Binding)


# fe96e8e6 24-Nov-2011 Xinchen Hui <laruence@php.net>

Fixed bug #60367 (Reflection and Late Static Binding)


# e0137255 24-Nov-2011 Xinchen Hui <laruence@php.net>

Fixed bug #60367 (Reflection and Late Static Binding)


# 6f5ca6f2 22-Nov-2011 Xinchen Hui <laruence@php.net>

Fixed bug #60357 (__toString() method triggers E_NOTICE "Array to string conversion")


# b548293b 22-Nov-2011 Xinchen Hui <laruence@php.net>

Fixed bug #60357 (__toString() method triggers E_NOTICE "Array to string conversion")


# 4a25a774 13-Sep-2011 Dmitry Stogov <dmitry@php.net>

Fixed ZE specific compile warnings (Bug #55629)


# e43ff135 13-Sep-2011 Dmitry Stogov <dmitry@php.net>

Fixed ZE specific compile warnings (Bug #55629)


# 38ff70ef 07-Sep-2011 Stanislav Malyshev <stas@php.net>

Commit Gustavo's closure rebinding patch as desided by vote


# a447acdc 07-Sep-2011 Stanislav Malyshev <stas@php.net>

Commit Gustavo's closure rebinding patch as desided by vote


# b04a052f 26-Aug-2011 Sebastian Bergmann <sebastian@php.net>

Close #55490.


# a7024063 26-Aug-2011 Sebastian Bergmann <sebastian@php.net>

Close #55490.


# 306c4202 16-Aug-2011 Hannes Magnusson <bjori@php.net>

Callable typehint following the rules of is_callable($arg, false);


# 550980cf 16-Aug-2011 Hannes Magnusson <bjori@php.net>

Callable typehint following the rules of is_callable($arg, false);


# 23e43859 25-Jul-2011 Felipe Pena <felipe@php.net>

- Make usage of new PHP_FE_END macro


# 4b30846b 25-Jul-2011 Felipe Pena <felipe@php.net>

- Make usage of new PHP_FE_END macro


# da376383 25-Jul-2011 Felipe Pena <felipe@php.net>

- Make usage of new PHP_FE_END macro


# d65b6dc0 11-Jun-2011 Felipe Pena <felipe@php.net>

- Missing fix for bug #54347


# d2c47040 11-Jun-2011 Felipe Pena <felipe@php.net>

- Missing fix for bug #54347


# 9b1ba00a 11-Jun-2011 Felipe Pena <felipe@php.net>

- Missing fix for bug #54347


# 60857e01 09-Jun-2011 Felipe Pena <felipe@php.net>

- Fixed bug #54347 (reflection_extension does not lowercase module function name)
patch by: laruence at yahoo dot com dot cn


# 7c464108 09-Jun-2011 Felipe Pena <felipe@php.net>

- Fixed bug #54347 (reflection_extension does not lowercase module function name)
patch by: laruence at yahoo dot com dot cn


# cee9b660 09-Jun-2011 Felipe Pena <felipe@php.net>

- Fixed bug #54347 (reflection_extension does not lowercase module function name)
patch by: laruence at yahoo dot com dot cn


# 2da7edbc 05-Jun-2011 Stanislav Malyshev <stas@php.net>

This method doesn't seem to be very useful without scalar types, so reverting it too


# ed001a8e 05-Jun-2011 Stanislav Malyshev <stas@php.net>

This method doesn't seem to be very useful without scalar types, so reverting it too


# 516c2f59 15-May-2011 Stanislav Malyshev <stas@php.net>

removing scalar types in trunk


# e15dd93e 03-Feb-2011 Gustavo André dos Santos Lopes <cataphract@php.net>

- Simpler fix for bug #53915.


# 9e71bff7 03-Feb-2011 Gustavo André dos Santos Lopes <cataphract@php.net>

- Simpler fix for bug #53915.


# fac1e871 03-Feb-2011 Gustavo André dos Santos Lopes <cataphract@php.net>

- Fixed bug #53915: ReflectionClass::getConstant(s) emits fatal error on
constants with self::.
- Reflown some NEWS entries to have lines no longer than 80 chars.


# f2329f1f 03-Feb-2011 Gustavo André dos Santos Lopes <cataphract@php.net>

- Fixed bug #53915: ReflectionClass::getConstant(s) emits fatal error on
constants with self::.
- Reflown some NEWS entries to have lines no longer than 80 chars.


# 927bf09c 01-Jan-2011 Felipe Pena <felipe@php.net>

- Year++


# 0203cc3d 01-Jan-2011 Felipe Pena <felipe@php.net>

- Year++


# 5a1e9d1d 21-Nov-2010 Johannes Schlüter <johannes@php.net>

- Fix #52854 (ReflectionClass::newInstanceArgs does not work for classes without constructors


# 9ea04e1e 21-Nov-2010 Johannes Schlüter <johannes@php.net>

- Fix #52854 (ReflectionClass::newInstanceArgs does not work for classes without constructors


# 224bfb38 20-Nov-2010 Felipe Pena <felipe@php.net>

- Fixed bug #53366 (Reflection doesnt get dynamic property value from getProperty())


# 1ac484d1 20-Nov-2010 Felipe Pena <felipe@php.net>

- Fixed bug #53366 (Reflection doesnt get dynamic property value from getProperty())


# 063b213e 19-Nov-2010 Kalle Sommer Nielsen <kalle@php.net>

Kill warnings about constness


# b5b4f94a 26-Oct-2010 Gustavo André dos Santos Lopes <cataphract@php.net>

- Fixed ReflectionProperty::isDefault() giving a wrong result for properties
obtained with ReflectionClass::getProperties().


# be77a48a 26-Oct-2010 Gustavo André dos Santos Lopes <cataphract@php.net>

- Fixed ReflectionProperty::isDefault() giving a wrong result for properties
obtained with ReflectionClass::getProperties().


# e5c7fae8 26-Oct-2010 Gustavo André dos Santos Lopes <cataphract@php.net>

- Added ReflectionParameter::canBePassedByValue().


# f2df6a4a 15-Sep-2010 Dmitry Stogov <dmitry@php.net>

- Improved memory usage
. zend_function.pass_rest_by_reference is replaced by
ZEND_ACC_PASS_REST_BY_REFERENCE in zend_function.fn_flags
. zend_function.return_reference is replaced by ZEND_ACC_RETURN_REFERENCE
in zend_function.fn_flags
. zend_arg_info.required_num_args removed. it was needed only for internal
functions. Now the first arg_info for internal function (which has special
meaning) is represented by zend_internal_function_info structure.
. zend_op_array.size, size_var, size_literal, current_brk_cont,
backpatch_count moved into CG(context), because they are used only during
compilation.
. zend_op_array.start_op is moved into EG(start_op), because it's used
only for 'interactive' execution of single top-level op-array.
. zend_op_array.done_pass_two is replaced by ZEND_ACC_DONE_PASS_TWO in
zend_op_array.fn_flags.
. op_array.vars array is trimmed (reallocated) during pass_two.
. zend_class_entry.constants_updated is replaced by
ZEND_ACC_CONSTANTS_UPDATED in zend_class_entry.ce_flags
. the size of zend_class_entry is reduced by sharing the same memory space
by different information for internal and user classes.
See zend_class_inttry.info union.


# da3743b7 21-Aug-2010 Felipe Pena <felipe@php.net>

- Added missing void parameter checks


# 76862dfd 21-Aug-2010 Felipe Pena <felipe@php.net>

- Added missing void parameter checks


# a552a301 02-Aug-2010 Felipe Pena <felipe@php.net>

- Added missing parameter checks for new methods (trunk only)


# 6944a243 29-Jul-2010 Felipe Pena <felipe@php.net>

- Makes "parent" and "self" checking case-insensitive


# 4d3944f9 11-Jun-2010 Felipe Pena <felipe@php.net>

- Fixed bug #52057 (ReflectionClass fails on Closure class)


# becc2bb6 11-Jun-2010 Felipe Pena <felipe@php.net>

- Fixed bug #52057 (ReflectionClass fails on Closure class)


# b56a3804 03-Jun-2010 Felipe Pena <felipe@php.net>

- Fix memleak when passing a non string/object parameter


# 8454cca4 03-Jun-2010 Felipe Pena <felipe@php.net>

- Fix memleak when passing a non string/object parameter


# dc86e9e8 03-Jun-2010 Felipe Pena <felipe@php.net>

- Fix memleak when passing a non string/object parameter


# e03baf4e 02-Jun-2010 Felipe Pena <felipe@php.net>

- Save an object_init_ex() and zval_dtor() calls on ReflectionClass::isCloneable()


# c98c39b1 02-Jun-2010 Felipe Pena <felipe@php.net>

- Added ReflectionClass::isCloneable() [DOC]


# 4158f7e1 30-May-2010 Johannes Schlüter <johannes@php.net>

- More trait reflection work
#- I'm not happy about ReflectionClass::getTraitAliases, yet


# 2d63683e 29-May-2010 Felipe Pena <felipe@php.net>

- Fixed ReflectionClass::isTrait() checking (to not identify abstract class as Trait)


# 23dfc1fa 29-May-2010 Felipe Pena <felipe@php.net>

- Missing Trait check fix


# 3c4ff06c 29-May-2010 Felipe Pena <felipe@php.net>

- Fixed wrong abstract class identification (it was identified as a Trait)


# 97b7620a 29-May-2010 Johannes Schlüter <johannes@php.net>

- Add some folding marks


# 19afc82e 29-May-2010 Johannes Schlüter <johannes@php.net>

- Make reflection aware of traits


# 49d74ebc 27-May-2010 Kalle Sommer Nielsen <kalle@php.net>

Fixed compiler warning (pointer mismatch)


# 0b9263da 26-May-2010 Pierrick Charron <pierrick@php.net>

Remove unused variable


# bb43ac40 25-May-2010 Felipe Pena <felipe@php.net>

- Fixed bug #51911 (ReflectionParameter::getDefaultValue() memory leaks with constant array)


# f3009cb5 25-May-2010 Felipe Pena <felipe@php.net>

- Fixed bug #51911 (ReflectionParameter::getDefaultValue() memory leaks with constant array)


# 1168cdc3 25-May-2010 Felipe Pena <felipe@php.net>

- Fixed bug #51911 (ReflectionParameter::getDefaultValue() memory leaks with constant array)


# f23e8576 24-May-2010 Dmitry Stogov <dmitry@php.net>

Fixed ZTS build


# c5237d82 24-May-2010 Dmitry Stogov <dmitry@php.net>

Added caches to eliminate repeatable run-time bindings of functions, classes, constants, methods and properties


# 1bc92476 20-May-2010 Derick Rethans <derick@php.net>

- Added scalar typehinting.


# 94dd8372 20-Apr-2010 Dmitry Stogov <dmitry@php.net>

Changed the structure of op_array.opcodes. The constant values are moved from opcode operands into a separate literal table


# c93a4f19 19-Apr-2010 Stanislav Malyshev <stas@php.net>

restore $this support for closures to its former glory


# 26b08f98 30-Mar-2010 Johannes Schlüter <johannes@php.net>

Remove main/php3_compat.h, for that a few references to `function_entry` have
to be replaced by `zend_function_entry`.


# d5b2d647 30-Mar-2010 Johannes Schlüter <johannes@php.net>

Fix protos


# 26af5759 30-Mar-2010 Johannes Schlüter <johannes@php.net>

Add ReflectionZendExtension class and --rz option to CLI


# 6ba38a6e 30-Mar-2010 Johannes Schlüter <johannes@php.net>

Fix folding


# 4dc1cef4 30-Mar-2010 Johannes Schlüter <johannes@php.net>

Use php_error_docref instead of zend_error


# a6c9e432 30-Mar-2010 Johannes Schlüter <johannes@php.net>

Use php_error_docref instead of zend_error


# 347e2bce 30-Mar-2010 Johannes Schlüter <johannes@php.net>

Add ReflectionExtension::isTemporary() and ReflectionExtension::isPersistent().


# 52b7fc35 02-Mar-2010 Hannes Magnusson <bjori@php.net>

- The ctor requires both arguments
- Sync/fix ctor and export arguments to 5_2


# f6f5e541 02-Mar-2010 Hannes Magnusson <bjori@php.net>

- The ctor requires both arguments
- Sync/fix ctor and export arguments to 5_2


# 004a72ce 02-Mar-2010 Hannes Magnusson <bjori@php.net>

- The ctor requires both arguments
- Sync/fix ctor and export arguments to 5_2


# 2e543f9b 22-Jan-2010 Jani Taskinen <jani@php.net>

- Fixed bug #50823 (ReflectionFunction::isDeprecated producing "cannot be called statically" error)
# Partial MF53 of r273045 by Felipe :)


# 16cb1cd4 03-Jan-2010 Sebastian Bergmann <sebastian@php.net>

sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php


# 22f4ef45 03-Jan-2010 Sebastian Bergmann <sebastian@php.net>

sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php


# 9ba1e816 03-Jan-2010 Sebastian Bergmann <sebastian@php.net>

sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php


# a51e7d33 08-Dec-2009 Felipe Pena <felipe@php.net>

- Added MAKE_COPY_ZVAL(ppzv, pzv) macro


# a94558c8 08-Dec-2009 Felipe Pena <felipe@php.net>

- Added MAKE_COPY_ZVAL(ppzv, pzv) macro


# e6770f10 11-Nov-2009 Felipe Pena <felipe@php.net>

- Fixed bug #50152 (ReflectionClass::hasProperty hehaves like isset() not property_exists)
[5_2 is OK]


# eea23b27 11-Nov-2009 Felipe Pena <felipe@php.net>

- Fixed bug #50152 (ReflectionClass::hasProperty hehaves like isset() not property_exists)
[5_2 is OK]


# caa28c2a 01-Nov-2009 Felipe Pena <felipe@php.net>

- Fixed bug #49719 (ReflectionClass::hasProperty returns true for a private property in base class)


# 8e91d464 01-Nov-2009 Felipe Pena <felipe@php.net>

- Fixed bug #49719 (ReflectionClass::hasProperty returns true for a private property in base class)


# c768256c 01-Nov-2009 Felipe Pena <felipe@php.net>

- Fixed bug #49719 (ReflectionClass::hasProperty returns true for a private property in base class)


# 6504d84a 03-Oct-2009 Felipe Pena <felipe@php.net>

- Fix some arginfos (thanks Philip)
- Added arginfo info. for void params


# 8172c388 03-Oct-2009 Felipe Pena <felipe@php.net>

- Fix some arginfos (thanks Philip)
- Added arginfo info. for void params


# ceaf5905 16-Sep-2009 Sebastian Bergmann <sebastian@php.net>

Merge ReflectionMethod::setAccessible() to PHP 5.3.2, approved by Johannes.


# 24f4a4a9 10-Sep-2009 Sebastian Bergmann <sebastian@php.net>

Use getThis() correctly.


# 46ce6802 10-Sep-2009 Sebastian Bergmann <sebastian@php.net>

Add ReflectionMethod::setAccessible() for invoking non-public methods through the Reflection API.


# d9eeb2e6 03-Sep-2009 Sebastian Bergmann <sebastian@php.net>

Make invokeArgs() error messages consistent with invoke().


# 853c6de6 03-Sep-2009 Sebastian Bergmann <sebastian@php.net>

Make invokeArgs() error messages consistent with invoke().


# fa67b146 03-Sep-2009 Sebastian Bergmann <sebastian@php.net>

Make invokeArgs() error messages consistent with invoke().


# a4a09a00 01-Aug-2009 Felipe Pena <felipe@php.net>

- Fixed ReflectionClass::getStaticProperties() to do not return the private properties from parent class;
behavior already adopted in ReflectionClass::getDefaultProperties() and ReflectionClass::getProperties().


# d47dc130 01-Aug-2009 Felipe Pena <felipe@php.net>

- Fixed ReflectionClass::getStaticProperties() to do not return the private properties from parent class;
behavior already adopted in ReflectionClass::getDefaultProperties() and ReflectionClass::getProperties().


# c75f1621 01-Aug-2009 Felipe Pena <felipe@php.net>

- Fixed ReflectionClass::getStaticProperties() to do not return the private properties from parent class;
behavior already adopted in ReflectionClass::getDefaultProperties() and ReflectionClass::getProperties().


# adf8f72f 01-Aug-2009 Jani Taskinen <jani@php.net>

- Fixed bug #49092 (ReflectionFunction fails to work with functions in fully qualified namespaces)


# dd2876c3 01-Aug-2009 Jani Taskinen <jani@php.net>

- Fixed bug #49092 (ReflectionFunction fails to work with functions in fully qualified namespaces)


# edbf332c 01-Aug-2009 Jani Taskinen <jani@php.net>

- Fixed bug #49074 (private class static fields can be modified by using reflection)


# 30884943 01-Aug-2009 Jani Taskinen <jani@php.net>

- Fixed bug #49074 (private class static fields can be modified by using reflection)


# f9e548a9 01-Aug-2009 Jani Taskinen <jani@php.net>

- Fixed bug #49074 (private class static fields can be modified by using reflection)


# d972b5de 01-Jul-2009 Kalle Sommer Nielsen <kalle@php.net>

Fixed #45280 (Reflection of instantiated COM classes causes PHP to crash) (Paul Richards, Kalle)


# 485f28aa 01-Jul-2009 Kalle Sommer Nielsen <kalle@php.net>

MFH: Fixed #45280 (Reflection of instantiated COM classes causes PHP to crash) (Paul Richards, Kalle)


# 3aae5bc9 01-Jul-2009 Kalle Sommer Nielsen <kalle@php.net>

Fixed #45280 (Reflection of instantiated COM classes causes PHP to crash) (Paul Richards, Kalle)


# e536b270 01-Jul-2009 Kalle Sommer Nielsen <kalle@php.net>

MFH: Fixed memory leak if zero parameters are passed, Thanks Felipe


# fddd5d94 01-Jul-2009 Kalle Sommer Nielsen <kalle@php.net>

Fixed memory leak if zero parameters are passed, Thanks Felipe


# 21d61978 01-Jul-2009 Kalle Sommer Nielsen <kalle@php.net>

MFH: Fixed bug #48757 (ReflectionFunction::invoke() parameter issues)


# 8f3fb7ec 01-Jul-2009 Kalle Sommer Nielsen <kalle@php.net>

Fixed bug #48757 (ReflectionFunction::invoke() parameter issues)


# f9bb9905 16-Jun-2009 Felipe Pena <felipe@php.net>

- MFH: Fixed build (removed trailing comma) patch by Seiji Masugata <s.masugata at digicom.dnp.co.jp>


# 8654130a 16-Jun-2009 Felipe Pena <felipe@php.net>

- Fixed build (removed trailing comma) patch by Seiji Masugata <s.masugata at digicom.dnp.co.jp>


# 6d34e06a 25-May-2009 Felipe Pena <felipe@php.net>

- Dropped *_TEXT* macros in favor of unicode macros direct usage


# 415b75e3 21-May-2009 Arnaud Le Blanc <lbarnaud@php.net>

MFH: Fixed bug #48336 (ReflectionProperty::getDeclaringClass() does not
work with redeclared property)
(patch by Markus dot Lidel at shadowconnect dot com)


# 5c5dcf5e 21-May-2009 Arnaud Le Blanc <lbarnaud@php.net>

MFH: Fixed bug #48336 (ReflectionProperty::getDeclaringClass() does not
work with redeclared property)
(patch by Markus dot Lidel at shadowconnect dot com)


# 361f8c26 21-May-2009 Arnaud Le Blanc <lbarnaud@php.net>

Fixed bug #48336 (ReflectionProperty::getDeclaringClass() does not
work with redeclared property)
(patch by Markus dot Lidel at shadowconnect dot com)


# ff12af61 27-Apr-2009 Felipe Pena <felipe@php.net>

- MFH: Fixed bug #47254 (Wrong Reflection for extends class)


# 9fa1e2d8 27-Apr-2009 Felipe Pena <felipe@php.net>

- MFH: Fixed bug #47254 (Wrong Reflection for extends class)


# cab1fb7c 27-Apr-2009 Felipe Pena <felipe@php.net>

- Fixed bug #47254 (Wrong Reflection for extends class)


# 03e48b15 04-Apr-2009 Sebastian Bergmann <sebastian@php.net>

MFH: Fix issue reported by Roman Borschel.


# 607c0fb2 04-Apr-2009 Sebastian Bergmann <sebastian@php.net>

Fix issue reported by Roman Borschel.


# c1effd8c 02-Apr-2009 Ilia Alshanetsky <iliaa@php.net>

Block unused function


# 8ecf8ede 26-Mar-2009 Felipe Pena <felipe@php.net>

- Removed:
- UG(unicode) checks
- pcre_cache_entry.unicode_mode
- Changed:
- ZEND_STR_TYPE -> IS_UNICODE
- convert_to_text -> convert_to_unicode
- convert_to_text_ex -> convert_to_unicode_ex

(Felipe, Steph)


# d4f5b3f0 10-Mar-2009 Marcus Boerger <helly@php.net>

- This is PHP 6 - if this ... ever gets out


# 63ee3c98 01-Feb-2009 Christian Seiler <cseiler@php.net>

Fixed regression of bug #46205, thanks to felipe for pointing this out.


# c6d89bd4 26-Jan-2009 Christian Seiler <cseiler@php.net>

[DOC] Remove $this support in closures for PHP 5.3 beta 1
- Implementation notes here:
http://wiki.php.net/rfc/closures/removal-of-this


# 15851cd7 07-Jan-2009 Felipe Pena <felipe@php.net>

MFH:
- New parameter parsing
- Removed METHOD_NOTSTATIC_NUMPARAMS


# ef7eb282 07-Jan-2009 Felipe Pena <felipe@php.net>

- New parameter parsing
- Removed METHOD_NOTSTATIC_NUMPARAMS


# e8842dd2 03-Jan-2009 Marcus Boerger <helly@php.net>

- MFB Missing namespace changes
# Now all tests PASS again


# 7c8c0414 03-Jan-2009 Marcus Boerger <helly@php.net>

- MFH Minor corrections and a new test


# 21b49d9e 03-Jan-2009 Marcus Boerger <helly@php.net>

- Minor corrections and a new test


# 4ffc3235 03-Jan-2009 Marcus Boerger <helly@php.net>

- MFH Show closure's bound as static parameter


# e83481cf 03-Jan-2009 Marcus Boerger <helly@php.net>

- Show closure's bound as static parameter


# 12df96e0 03-Jan-2009 Marcus Boerger <helly@php.net>

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.


# 9535ca53 03-Jan-2009 Marcus Boerger <helly@php.net>

- Return this pointer and not closure itself


# 0544a489 03-Jan-2009 Marcus Boerger <helly@php.net>

- Add ReflectionFunctionAbstract::getClosureThis()


# 7ca83074 03-Jan-2009 Marcus Boerger <helly@php.net>

- MFH Improved closure support


# 87b355cb 03-Jan-2009 Marcus Boerger <helly@php.net>

- Improved closure support


# 4490ca31 03-Jan-2009 Marcus Boerger <helly@php.net>

- MFH Add minimalistic closure support


# 4fb20017 03-Jan-2009 Marcus Boerger <helly@php.net>

- Small reordering


# 0d02658e 03-Jan-2009 Marcus Boerger <helly@php.net>

- Add minimalistic closure support


# 1e5bb9d1 31-Dec-2008 Marcus Boerger <helly@php.net>

- MFB Use Revision instead of Id tag for version


# 88ca8e72 31-Dec-2008 Marcus Boerger <helly@php.net>

- Use Revision instead of Id tag for version


# ef49b9a8 31-Dec-2008 Sebastian Bergmann <sebastian@php.net>

MFH: Bump copyright year, 3 of 3.


# 08659c2d 31-Dec-2008 Sebastian Bergmann <sebastian@php.net>

MFH: Bump copyright year, 3 of 3.


# 7f4dc870 31-Dec-2008 Sebastian Bergmann <sebastian@php.net>

Bump copyright year, 3 of 3.


# 3e94ce6a 19-Dec-2008 SVN Migration <svn@php.net>

This commit was manufactured by cvs2svn to create tag 'NEWS'.


# 2f49305b 29-Nov-2008 Sebastian Bergmann <sebastian@php.net>

MFH: Fix #46718: ReflectionProperty::setValue() and ReflectionProperty::setAccessible().


# eb33ee45 29-Nov-2008 Sebastian Bergmann <sebastian@php.net>

Fix #46718: ReflectionProperty::setValue() and ReflectionProperty::setAccessible().


# e5454b35 27-Nov-2008 Dmitry Stogov <dmitry@php.net>

Fixed bug #46409 (__invoke method called outside of object context when using array_map)


# 7d4fd3fd 27-Nov-2008 Dmitry Stogov <dmitry@php.net>

Fixed bug #46409 (__invoke method called outside of object context when using array_map)


# 6ac68389 21-Nov-2008 Felipe Pena <felipe@php.net>

- Fixed bug #46604 (ReflectionClass::getProperty() fails) [only in this branch]


# fc2fb50d 17-Nov-2008 Felipe Pena <felipe@php.net>

- MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro


# 43791516 17-Nov-2008 Felipe Pena <felipe@php.net>

- Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro (again!)


# dd9e9f26 14-Nov-2008 Hannes Magnusson <bjori@php.net>

MFH: Interfaces extend other interfaces, not implement


# ee616e41 14-Nov-2008 Hannes Magnusson <bjori@php.net>

Interfaces extend other interfaces, not implement


# 7126de49 04-Nov-2008 Marcus Boerger <helly@php.net>

- Next step in namespaces, using / as namespace separator.


# 7a37fa2d 02-Nov-2008 Felipe Pena <felipe@php.net>

- Revert ZEND_BEGIN_ARG_INFO change


# e006a89e 02-Nov-2008 Felipe Pena <felipe@php.net>

- Revert ZEND_BEGIN_ARG_INFO change


# a04ec694 29-Oct-2008 Felipe Pena <felipe@php.net>

- MFH: Fixed bug #46064 (Exception when creating ReflectionProperty object on dynamicly created property)


# fa5d6496 29-Oct-2008 Felipe Pena <felipe@php.net>

- Fixed char formatter


# b9c03aa4 29-Oct-2008 Felipe Pena <felipe@php.net>

- MFH: Fixed bug #46064 (Exception when creating ReflectionProperty object on dynamicly created property)


# b90aaccb 29-Oct-2008 Felipe Pena <felipe@php.net>

- Fixed bug #46064 (Exception when creating ReflectionProperty object on dynamicly created property)


# df100055 24-Oct-2008 Felipe Pena <felipe@php.net>

- MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro


# 7eb27154 24-Oct-2008 Felipe Pena <felipe@php.net>

- Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro


# 29201600 01-Oct-2008 Dmitry Stogov <dmitry@php.net>

Fixed bug #46205 (Closure - Memory leaks when ReflectionException is thrown)


# f656c6fc 01-Oct-2008 Dmitry Stogov <dmitry@php.net>

Fixed bug #46205 (Closure - Memory leaks when ReflectionException is thrown)


# 9d5ab6e5 22-Aug-2008 Felipe Pena <felipe@php.net>

- MFH: Removed unused arguments


# 7de23da8 22-Aug-2008 Felipe Pena <felipe@php.net>

- Removed unused arguments


# fdc2ee25 18-Aug-2008 Felipe Pena <felipe@php.net>

- MFB: New parameter parsing API
- Fixed tests


# 1beb30e4 13-Aug-2008 Pierre Joye <pajoye@php.net>

- move declaration on top and fix build error


# 066ea4f6 11-Aug-2008 Christian Seiler <cseiler@php.net>

MFH: Fixed segfaults (tests added)


# d40f3ef3 11-Aug-2008 Christian Seiler <cseiler@php.net>

- Fixed sefaults (tests added)


# b9ab70c0 11-Aug-2008 Christian Seiler <cseiler@php.net>

- Fixed segmentation fault (test added)


# 6d083e2c 11-Aug-2008 Marcus Boerger <helly@php.net>

- Cleanup


# 044d27e8 11-Aug-2008 Marcus Boerger <helly@php.net>

- Cleanup


# 301af6d4 11-Aug-2008 Felipe Pena <felipe@php.net>

- MFH: has_property check


# 7ea60b6f 11-Aug-2008 Felipe Pena <felipe@php.net>

- Fixed wrong check for dynamic properties


# e82568d9 11-Aug-2008 Felipe Pena <felipe@php.net>

- Fix build (ZTS)


# ebb797df 11-Aug-2008 Felipe Pena <felipe@php.net>

- Fix build (ZTS)


# 05d896cc 11-Aug-2008 Marcus Boerger <helly@php.net>

- MFH Closure/Reflection integration (original idea by Christian Seiler)


# ae3641d9 11-Aug-2008 Marcus Boerger <helly@php.net>

- Closure/Reflection integration (original idea by Christian Seiler)


# e0e16483 11-Aug-2008 Felipe Pena <felipe@php.net>

- MFH: Fixed bug #45765 (ReflectionObject with default parameters of self::xxx cause an error)


# 18d07065 11-Aug-2008 Felipe Pena <felipe@php.net>

- MFH: Fixed bug #45765 (ReflectionObject with default parameters of self::xxx cause an error)


# 0a735191 11-Aug-2008 Felipe Pena <felipe@php.net>

- Fixed bug #45765 (ReflectionObject with default parameters of self::xxx cause an error)


# a3d6855a 08-Aug-2008 Felix De Vliegher <felixdv@php.net>

MFB: Documentation fix for getClosure()


# 06bcec06 08-Aug-2008 Felix De Vliegher <felixdv@php.net>

Documentation fix for getClosure()


# bd5f8ace 29-Jul-2008 Antony Dovgal <tony2001@php.net>

make ReflectionProperty::getValue() and ReflectionProperty::setValue() consistent with their implementations in 5_3


# 3f754a5a 29-Jul-2008 Antony Dovgal <tony2001@php.net>

no need for FETCH anymore..


# 652018e1 29-Jul-2008 Antony Dovgal <tony2001@php.net>

more similar fixes


# d23d92e0 29-Jul-2008 Antony Dovgal <tony2001@php.net>

add TSRMLS_DC and fix crash in ZTS mode


# bdf7981e 26-Jul-2008 Dmitry Stogov <dmitry@php.net>

Fixed is_callable/call_user_func mess that had done different things for very similar arguments e.g. array("A","B") and "A::B"


# af05ce0a 26-Jul-2008 Dmitry Stogov <dmitry@php.net>

Fixed is_callable/call_user_func mess that had done different things for very similar arguments e.g. array("A","B") and "A::B"


# c96256bc 25-Jul-2008 Dmitry Stogov <dmitry@php.net>

Fixed support for static methods


# ac68c41f 25-Jul-2008 Dmitry Stogov <dmitry@php.net>

Fixed support for static methods


# 013059c2 25-Jul-2008 Dmitry Stogov <dmitry@php.net>

Fixed uninitialized data


# 176ebc26 25-Jul-2008 Dmitry Stogov <dmitry@php.net>

Fixed uninitialized data


# a46319d8 25-Jul-2008 Antony Dovgal <tony2001@php.net>

fix typos


# 691d4a69 25-Jul-2008 Dmitry Stogov <dmitry@php.net>

Fixed uninitialised data


# 0fbe6a0c 24-Jul-2008 Felipe Pena <felipe@php.net>

- MFH: Added TSRMLS_DC to apply_func_args_t and zend_hash_apply_with_arguments.


# 8e1b4a55 24-Jul-2008 Felipe Pena <felipe@php.net>

- Added TSRMLS_DC to apply_func_args_t and zend_hash_apply_with_arguments.


# d66ac1c5 20-Jul-2008 Felipe Pena <felipe@php.net>

- MFB: Fixed bug #45571 (ReflectionClass::export() shows superclasses' private static methods.)


# a83e9768 20-Jul-2008 Felipe Pena <felipe@php.net>

- Fixed bug #45571 (ReflectionClass::export() shows superclasses' private static methods.)
patch by Robin Fernandes


# d5ef2f46 14-Jul-2008 Dmitry Stogov <dmitry@php.net>

Added support for lambda functions and closures


# 8d2e0a7e 08-Jul-2008 Dmitry Stogov <dmitry@php.net>

Added closures support


# 8565522d 27-Jun-2008 Dmitry Stogov <dmitry@php.net>

ws


# b872c30c 27-Jun-2008 Dmitry Stogov <dmitry@php.net>

ws


# c306b426 25-Jun-2008 Dmitry Stogov <dmitry@php.net>

Added support for namespaces


# 216909ce 25-Jun-2008 Dmitry Stogov <dmitry@php.net>

Added support for namespaces


# bee6c524 21-Jun-2008 Felipe Pena <felipe@php.net>

- New parameter parsing API


# a9e910ee 01-Jun-2008 Felipe Pena <felipe@php.net>

- MFB: Fixed bug #45139 (ReflectionProperty returns incorrect declaring class)


# 5050450f 01-Jun-2008 Felipe Pena <felipe@php.net>

- MFB: Fixed bug #45139 (ReflectionProperty returns incorrect declaring class)


# fba1e9d0 01-Jun-2008 Felipe Pena <felipe@php.net>

- Fixed bug #45139 (ReflectionProperty returns incorrect declaring class)


# 62b1449e 13-Mar-2008 Ilia Alshanetsky <iliaa@php.net>

Fixed bug #43677 (Inconsistent behaviour of include_path set with
php_value).


# f78649d8 18-Feb-2008 Dmitry Stogov <dmitry@php.net>

Made code opcode-cache friendly. (It is disallowed to change code during execution)


# ecc9778d 18-Feb-2008 Dmitry Stogov <dmitry@php.net>

Made code opcode-cache friendly. (It is disallowed to change code during execution)


# 8187dbfa 18-Feb-2008 Dmitry Stogov <dmitry@php.net>

Made code opcode-cache friendly. (It is disallowed to change code during execution)


# d161f4ec 15-Feb-2008 Derick Rethans <derick@php.net>

- Fixed speling.


# f8717f72 15-Feb-2008 Derick Rethans <derick@php.net>

- Fixed typo


# a764d75d 15-Feb-2008 Derick Rethans <derick@php.net>

- Add the ReflectionProperty::setAccesible() method that allows non-public
property's values to be read through ::getValue().
#- [DOC]


# 4b6cdde9 15-Feb-2008 Derick Rethans <derick@php.net>

- Add the ReflectionProperty::setAccesible() method that allows non-public
property's values to be read through ::getValue().


# 2c90b712 30-Jan-2008 Felipe Pena <felipe@php.net>

Revert


# b9df996a 30-Jan-2008 Felipe Pena <felipe@php.net>

Fix the fix (isInstance - order of parameters)


# ca44081e 30-Jan-2008 Antony Dovgal <tony2001@php.net>

fix ZTS build


# f3643b59 30-Jan-2008 Antony Dovgal <tony2001@php.net>

fix ZTS build


# c31d0d11 30-Jan-2008 Felipe Pena <felipe@php.net>

Fixed Bug #43926 (isInstance() isn't equivalent to instanceof operator)


# 8452585f 30-Jan-2008 Felipe Pena <felipe@php.net>

Fixed Bug#43926 (isInstance() isn't equivalent to instanceof operator)


# 626881d9 16-Jan-2008 Marcus Boerger <helly@php.net>

- MFH Fixed Bug #37964 (Reflection shows private methods of parent class)
(felipe@php.net)


# 0aaea797 16-Jan-2008 Marcus Boerger <helly@php.net>

- Fixed Bug #37964 (Reflection shows private methods of parent class)
(felipe@php.net)


# d9f3a130 31-Dec-2007 Sebastian Bergmann <sebastian@php.net>

MFH: Bump copyright year, 2 of 2.


# d1dded87 31-Dec-2007 Sebastian Bergmann <sebastian@php.net>

MFH: Bump copyright year, 2 of 2.


# 9b620d50 31-Dec-2007 Sebastian Bergmann <sebastian@php.net>

Bump copyright year, 2 of 2.


# 47dc82ec 22-Nov-2007 Dmitry Stogov <dmitry@php.net>

Fixed bug #43128 (Very long class name causes segfault)


# 648fbe9d 22-Nov-2007 Dmitry Stogov <dmitry@php.net>

Fixed bug #43128 (Very long class name causes segfault)


# 39f1f2fc 28-Oct-2007 Ilia Alshanetsky <iliaa@php.net>

MFB: Fixed bug #42976 (Crash when constructor for newInstance() or
newInstanceArgs() fails)


# 8ef85b48 28-Oct-2007 Ilia Alshanetsky <iliaa@php.net>

MFB: Fixed bug #42976 (Crash when constructor for newInstance() or
newInstanceArgs() fails)


# f0197278 28-Oct-2007 Ilia Alshanetsky <iliaa@php.net>

Fixed bug #42976 (Crash when constructor for newInstance() or
newInstanceArgs() fails)


# 4b4d634c 07-Oct-2007 Yiduo (David) Wang <davidw@php.net>

MFH: Added macros for managing zval refcounts and is_ref statuses


# 95da0dc5 07-Oct-2007 Yiduo (David) Wang <davidw@php.net>

Added macros for managing zval refcounts and is_ref statuses


# 8146078f 27-Sep-2007 Dmitry Stogov <dmitry@php.net>

Improved memory usage by movig constants to read only memory. (Dmitry, Pierre)


# 6c810b0d 27-Sep-2007 Dmitry Stogov <dmitry@php.net>

Improved memory usage by movig constants to read only memory. (Dmitry, Pierre)


# eb2659c7 27-Sep-2007 Antony Dovgal <tony2001@php.net>

MFH: fix coverity issue #411


# 7a954c4c 27-Sep-2007 Antony Dovgal <tony2001@php.net>

MFH: fix coverity issue #411


# 4919bc45 27-Sep-2007 Antony Dovgal <tony2001@php.net>

fix coverity issue #411


# d085fa1f 11-Sep-2007 Dmitry Stogov <dmitry@php.net>

Simplify (the prototype of zend_u_get_constant_ex() is going to be changed)


# 89c30a38 20-Aug-2007 Sebastian Bergmann <sebastian@php.net>

- MFB: Fugbix typo.


# 11b820bd 20-Aug-2007 Sebastian Bergmann <sebastian@php.net>

- Fugbix typo.


# 1d48a108 17-Aug-2007 Johannes Schlüter <johannes@php.net>

- MFH: Mark the parameter for ReflectionProperty::GetValue as optional


# b83198cd 17-Aug-2007 Johannes Schlüter <johannes@php.net>

- 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...)


# 610f70fc 24-Jul-2007 Johannes Schlüter <johannes@php.net>

- MFB: New ReflectionExtension::info() function to print the phpinfo() block
for an extension.


# 179c67a6 24-Jul-2007 Johannes Schlüter <johannes@php.net>

- New ReflectionExtension::info() function to print the phpinfo() block
for an extension. [DOC]


# 8bff9180 23-Jul-2007 Hannes Magnusson <bjori@php.net>

MFB: Avoid endless loop


# e6e823c8 23-Jul-2007 Hannes Magnusson <bjori@php.net>

Avoid endless loop


# d3ac9843 11-Jul-2007 Antony Dovgal <tony2001@php.net>

MFH


# 0a0b0787 11-Jul-2007 Antony Dovgal <tony2001@php.net>

implement (or fix?) #41884 (ReflectionClass::getDefaultProperties() does not handle static attributes)


# 40f32634 11-Jul-2007 Antony Dovgal <tony2001@php.net>

MFH: fix copy/paste type and bug #41962


# e58c638b 11-Jul-2007 Antony Dovgal <tony2001@php.net>

fix typo and bug #41962


# 46f28f61 06-Jul-2007 Antony Dovgal <tony2001@php.net>

fix folding


# 407c9833 29-May-2007 Marcus Boerger <helly@php.net>

- 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


# c64a4a13 28-May-2007 Hannes Magnusson <bjori@php.net>

MFH: fix logic


# e85d9c66 28-May-2007 Hannes Magnusson <bjori@php.net>

Fix logic


# bbcd8c5b 12-Apr-2007 Johannes Schlüter <johannes@php.net>

- Fix bug #41061 ("visibility error" in ReflectionFunction::export())


# a9d35666 17-Mar-2007 Johannes Schlüter <johannes@php.net>

- Fix string compare in unicode mode


# 8e67ec82 17-Mar-2007 Antony Dovgal <tony2001@php.net>

MFH: fix #40794 (ReflectionObject::getValues() may crash when used with dynamic properties)


# 53cf140b 17-Mar-2007 Antony Dovgal <tony2001@php.net>

fix #40794 (ReflectionObject::getValues() may crash when used with dynamic properties)


# 17abc7b2 16-Mar-2007 Sebastian Bergmann <sebastian@php.net>

MFB: Fugbix typo.


# d3cb98ca 16-Mar-2007 Sebastian Bergmann <sebastian@php.net>

Fugbix typo.


# 9c100b20 10-Feb-2007 Antony Dovgal <tony2001@php.net>

MFH


# ec79b63d 10-Feb-2007 Antony Dovgal <tony2001@php.net>

fix #40431 (dynamic properties may cause crash in ReflectionProperty methods)


# 4223aa4d 01-Jan-2007 Sebastian Bergmann <sebastian@php.net>

MFH: Bump year.


# 3717df72 01-Jan-2007 Sebastian Bergmann <sebastian@php.net>

Bump year.


# 2b23e4e2 22-Dec-2006 Ilia Alshanetsky <iliaa@php.net>

MFB: Fixed bug #39884 (ReflectionParameter::getClass() throws exception for
type hint self).


# 72895cda 22-Dec-2006 Ilia Alshanetsky <iliaa@php.net>

Fixed bug #39884 (ReflectionParameter::getClass() throws exception for type
hint self).


# e722dce5 19-Dec-2006 Andrei Zmievski <andrei@php.net>

- Marcus was too quick. Let's put type before zstr in the macros.
- Also mark get_include_path() and restore_include_path() with U.


# 98dce57d 19-Dec-2006 Marcus Boerger <helly@php.net>

- Fix ZVAL_ZSTRL


# 75c27244 27-Oct-2006 Andrei Zmievski <andrei@php.net>

Turn doc comments into zstr strings with corresponding adjustments.


# 723eb527 24-Oct-2006 Andrei Zmievski <andrei@php.net>

Mark reflection methods as Unicode-compliant (except for FIXME parts).


# 78f8685b 23-Oct-2006 Andrei Zmievski <andrei@php.net>

Fix remaining Unicode issues.


# dcf24900 18-Oct-2006 Johannes Schlüter <johannes@php.net>

- MFH: Fix #38465 (ReflectionParameter fails if default value is an access to self::


# 0e58baae 18-Oct-2006 Johannes Schlüter <johannes@php.net>

- Fix #38465 (ReflectionParameter fails if default value is an access to self::


# 5e60e48f 17-Oct-2006 Dmitry Stogov <dmitry@php.net>

Unicode support. (Two more places must be fixed. Look for FIXME comments.)


# aeec5b4b 11-Oct-2006 Antony Dovgal <tony2001@php.net>

MFH: fix #39125 (Memleak when reflecting non-existing class/method)


# a92a0703 11-Oct-2006 Antony Dovgal <tony2001@php.net>

fix #39125 (Memleak when reflecting non-existing class/method)


# 3a4603b4 06-Oct-2006 Antony Dovgal <tony2001@php.net>

more improvements


# 5d4259ff 06-Oct-2006 Antony Dovgal <tony2001@php.net>

more improvements


# d917bf08 06-Oct-2006 Antony Dovgal <tony2001@php.net>

MFH: fix #39067 (getDeclaringClass() and private properties)


# c65d3234 06-Oct-2006 Antony Dovgal <tony2001@php.net>

fix #39067 (getDeclaringClass() and private properties)


# 2027ceaa 03-Oct-2006 Dmitry Stogov <dmitry@php.net>

Fixed bug #38942 (Double old-style-ctor inheritance)


# 7c78500d 03-Oct-2006 Dmitry Stogov <dmitry@php.net>

Fixed bug #38942 (Double old-style-ctor inheritance)


# c356ad3b 02-Oct-2006 Antony Dovgal <tony2001@php.net>

MFH: #39001 (ReflectionProperty returns incorrect declaring class for protected properties)


# 8e3f5c3a 02-Oct-2006 Antony Dovgal <tony2001@php.net>

fix #39001 (ReflectionProperty returns incorrect declaring class for protected properties)


# 59d0c163 26-Sep-2006 Dmitry Stogov <dmitry@php.net>

Fixed bug #38942 (Double old-style-ctor inheritance)


# a04b6ed6 26-Sep-2006 Dmitry Stogov <dmitry@php.net>

Fixed bug #38942 (Double old-style-ctor inheritance)


# f1ed29ff 17-Sep-2006 Johannes Schlüter <johannes@php.net>

- Unicode fix


# 6415ef51 11-Sep-2006 Johannes Schlüter <johannes@php.net>

- MFH: Print the type of the original value


# c1f30227 11-Sep-2006 Johannes Schlüter <johannes@php.net>

- Print the type of the original value


# 6a1b4c99 11-Sep-2006 Johannes Schlüter <johannes@php.net>

- MFH: Fix #37923 (Display constant value in reflection::export)


# 90db332c 11-Sep-2006 Johannes Schlüter <johannes@php.net>

- Fix #37923 (Display constant value in reflection::export)


# fac51752 10-Sep-2006 Hannes Magnusson <bjori@php.net>

MFB: abstracting ReflectionFunctionAbstract & fix couple of typos


# bc8377a8 10-Sep-2006 Hannes Magnusson <bjori@php.net>

Make ReflectionFunctionAbstract abstract
- Move ReflectionFunctionAbstract::__construct to ReflectionFunction
- Move ReflectionFunctionAbstract::__toString to ReflectionFuncion
- Delcare ReflectionFunctionAbstract::__toString abstract
- fix couple of typos


# 75b8cd74 31-Aug-2006 Antony Dovgal <tony2001@php.net>

last portion of z/Z fixes


# a10691e3 31-Aug-2006 Antony Dovgal <tony2001@php.net>

last portion of z/Z fixes


# 86bf55a3 30-Aug-2006 Antony Dovgal <tony2001@php.net>

MFH: fix #38653 (memory leak in ReflectionClass::getConstant())


# dcbbae86 30-Aug-2006 Antony Dovgal <tony2001@php.net>

fix #38653 (memory leak in ReflectionClass::getConstant())


# c62b0865 27-Jul-2006 Dmitry Stogov <dmitry@php.net>

Fix usage of uninitialized value and unicode support


# 23de434f 27-Jul-2006 Ilia Alshanetsky <iliaa@php.net>

MFB: Improved fix for bug #38132


# 7b409b22 26-Jul-2006 Ilia Alshanetsky <iliaa@php.net>

Improved fix for bug #38132


# 8221909b 26-Jul-2006 Antony Dovgal <tony2001@php.net>

fix bug #38217 (ReflectionClass::newInstanceArgs() tries to allocate too much memory)


# 65626296 26-Jul-2006 Antony Dovgal <tony2001@php.net>

MFH: fix bug #38217 (ReflectionClass::newInstanceArgs() tries to allocate too much memory)


# 799ec997 25-Jul-2006 Michael Wallner <mike@php.net>

- ws


# e11e2a13 25-Jul-2006 Ilia Alshanetsky <iliaa@php.net>

Fixed bug #38132 (ReflectionClass::getStaticProperties() retains \0 in key
names).


# abd9dc0b 25-Jul-2006 Ilia Alshanetsky <iliaa@php.net>

MFB: Fixed bug #38194 (ReflectionClass::isSubclassOf() returns TRUE for the
class itself).


# bd581ab4 25-Jul-2006 Ilia Alshanetsky <iliaa@php.net>

Fixed bug #38194 (ReflectionClass::isSubclassOf() returns TRUE for the
class itself).


# d0f2f6cd 24-Jul-2006 Marcus Boerger <helly@php.net>

- MFH zend_unmangle_property_name(), drop zend_unmangle_property_name_ex()


# eb0fd630 24-Jul-2006 Marcus Boerger <helly@php.net>

- zend_(u_)_unmangle_property_name() has changed


# 06678646 18-Jul-2006 Andrei Zmievski <andrei@php.net>

Callable checks and class fetching and lookup should support identifer
normalization now. (Marcus, Andrei)


# b8059674 13-Jul-2006 Antony Dovgal <tony2001@php.net>

Unicode support in ReflectionParameter::__construct()


# 71efa5b4 10-Jul-2006 Marcus Boerger <helly@php.net>

- MFH Fixed bug #37816 (ReflectionProperty does not throw exception when accessing protected attribute)


# 18d45918 10-Jul-2006 Marcus Boerger <helly@php.net>

- Fix bug #37816 ReflectionProperty does not throw exception when accessing protected attribute


# c5ff4468 09-Jul-2006 Marcus Boerger <helly@php.net>

- MFH Fix logic


# 465a4189 09-Jul-2006 Marcus Boerger <helly@php.net>

- Fix logic


# 147840dd 07-Jul-2006 Hannes Magnusson <bjori@php.net>

MFH: ReflectionFunction::isDisabled()


# 7e3e9925 07-Jul-2006 Hannes Magnusson <bjori@php.net>

Added new method to see if function is disabled or not


# 612e7544 04-Jul-2006 Hannes Magnusson <bjori@php.net>

mfh


# 2a18040c 04-Jul-2006 Hannes Magnusson <bjori@php.net>

Obs. ZEND_BEGIN_ARG_INFO => ZEND_BEGIN_ARG_INFO_EX


# 1d6e7e3d 04-Jul-2006 Hannes Magnusson <bjori@php.net>

MFH: Fix protos&arginfo


# 2fbf0478 04-Jul-2006 Hannes Magnusson <bjori@php.net>

Fix protos&arginfo


# 97062cad 24-Jun-2006 Marcus Boerger <helly@php.net>

- MFH Fix ReflectionObject::getProperties() + dyn properties


# 233a322f 24-Jun-2006 Marcus Boerger <helly@php.net>

- Fix ReflectionObject::getProperties() + dyn properties


# d6486b81 11-Jun-2006 Hannes Magnusson <bjori@php.net>

Only display visibility for methods


# 13fe33c2 10-Jun-2006 Hannes Magnusson <bjori@php.net>

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


# 6d1b43df 10-Jun-2006 Hannes Magnusson <bjori@php.net>

Fixed bug #37764
- 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


# 44ba014c 07-Jun-2006 Marcus Boerger <helly@php.net>

- MFH Add arginfo (hannes)


# c100b283 07-Jun-2006 Marcus Boerger <helly@php.net>

- Add arginfo (hannes)


# 1f93575c 07-Jun-2006 Marcus Boerger <helly@php.net>

- MFH Add ReflectionClass::getInterfaceNames()


# 7b2b6777 07-Jun-2006 Marcus Boerger <helly@php.net>

- Add ReflectionClass::getInterfaceNames()


# dfd22958 04-Jun-2006 Marcus Boerger <helly@php.net>

- Use engine call to register interfaces (steph)


# 9b706996 04-Jun-2006 Marcus Boerger <helly@php.net>

- Use engine call to register interfaces (steph)


# 17ad6e2e 01-Jun-2006 Antony Dovgal <tony2001@php.net>

apply correct fix


# 8c04c51f 01-Jun-2006 Antony Dovgal <tony2001@php.net>

ignore my previous fix, it was wrong =)


# 21033590 01-Jun-2006 Antony Dovgal <tony2001@php.net>

MFH: no need to fetch trsm_ls when it's already available


# 890b19a7 01-Jun-2006 Antony Dovgal <tony2001@php.net>

no need to fetch trsm_ls when it's already available


# 77c1b56c 10-May-2006 Marcus Boerger <helly@php.net>

- Update after api changes


# 6a53a49c 29-Mar-2006 Antony Dovgal <tony2001@php.net>

MF51: 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)


# 59b8592c 29-Mar-2006 Antony Dovgal <tony2001@php.net>

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


# 0add197e 12-Mar-2006 Marcus Boerger <helly@php.net>

- 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


# 946c955c 12-Mar-2006 Marcus Boerger <helly@php.net>

- Fix ReflectionParameter
. Reintroduce getClass()
. Change getDeclaringClass() to return what it suggests
. Add getDeclaringFunction()
. Add getPosition()
# This also fixes Bug #36687 ReflectionParameter::getDeclaringClass returns
# wrong result


# b83d7e31 06-Mar-2006 Rasmus Lerdorf <rasmus@php.net>

stray text


# 35631910 06-Mar-2006 Rasmus Lerdorf <rasmus@php.net>

stray text


# e795f8f4 06-Mar-2006 Marcus Boerger <helly@php.net>

- MFH Proto fixes


# 1050956a 06-Mar-2006 Marcus Boerger <helly@php.net>

- Proto fixes


# 4fb5bc4b 28-Feb-2006 Marcus Boerger <helly@php.net>

- Make Derick happy for the moment


# c4b81d87 28-Feb-2006 Marcus Boerger <helly@php.net>

- Fix warning


# bf213a2c 25-Feb-2006 Marcus Boerger <helly@php.net>

- Add ReflectionExtension::getDependencies()


# 941b0651 25-Feb-2006 Marcus Boerger <helly@php.net>

- MFH: Function deprecation flag


# 257a95f6 25-Feb-2006 Marcus Boerger <helly@php.net>

- deprecated belongs in the flag area, not in the keyword area


# e0053b25 24-Feb-2006 Johannes Schlüter <johannes@php.net>

- We need %v here


# 027abfd7 24-Feb-2006 Johannes Schlüter <johannes@php.net>

- MFH: Fix #29986 (Class constants won't work with predefined constants when
using ReflectionClass)


# cea8dd88 24-Feb-2006 Johannes Schlüter <johannes@php.net>

- Fix #29986 (Class constants won't work with predefined constants when
using ReflectionClass)


# 4ad7d57a 24-Feb-2006 Johannes Schlüter <johannes@php.net>

- deprecated not static


# 90c428a6 24-Feb-2006 Marcus Boerger <helly@php.net>

- Fix warning


# 7dfafcbb 24-Feb-2006 Marcus Boerger <helly@php.net>

- Functions can be deprecated too
- Add missing constant


# f0331d8c 21-Feb-2006 Johannes Schlüter <johannes@php.net>

- Print deprecation info on reflection export


# 50ccc822 21-Feb-2006 Sebastian Bergmann <sebastian@php.net>

Fix whitespace.


# 865eaa67 21-Feb-2006 Sebastian Bergmann <sebastian@php.net>

Add ReflectionMethod::isDeprecated(). Patch reviewed by Marcus Börger <helly@php.net>.


# 0f1209ab 21-Feb-2006 Dmitry Stogov <dmitry@php.net>

Portable unicode string API:
- use the same type (int) for zval.value.usr.len and zval.value.str.len
- use union "zstr" as char*/UChar* mixture instead of void*
- Z_UNISTR() and Z_UNILEN() no longer check for Z_TYPE()
- nuke int32_t from ZE (not finisned)


# 416f3ef1 21-Feb-2006 Marcus Boerger <helly@php.net>

- Ansi compliance issue found by rob


# 37f033e0 21-Feb-2006 Marcus Boerger <helly@php.net>

- Fix mem issue in unicode mode (seems to be a problem in different api behavior)


# 3ac5297d 21-Feb-2006 Marcus Boerger <helly@php.net>

- Add ReflectionProperty::getDefaultValue()


# c6cb1598 20-Feb-2006 Johannes Schlüter <johannes@php.net>

- MFH: Rename reflection constants to fix parser conflicts


# 6e9026d6 20-Feb-2006 Johannes Schlüter <johannes@php.net>

- Rename reflection constants to fix parser conflicts


# fc21f782 20-Feb-2006 Marcus Boerger <helly@php.net>

- Show dependencies in dump's too


# 01844858 20-Feb-2006 Marcus Boerger <helly@php.net>

- Add ReflectionExtension::getDependencies() to retrieve all dependencies
of an extension as associative array "ModuleNeme" > "Relation"


# 3fa4bf21 20-Feb-2006 Ilia Alshanetsky <iliaa@php.net>

MFB51: Fixed bug #36434 (Improper resolution of declaring class name of an
inherited property).


# 4ea898b7 20-Feb-2006 Ilia Alshanetsky <iliaa@php.net>

Fixed bug #36434 (Improper resolution of declaring class name of an
inherited property).


# 9528c379 20-Feb-2006 Dmitry Stogov <dmitry@php.net>

Fixed SIGSEGV in unicode mode


# afd8f0b6 18-Feb-2006 Marcus Boerger <helly@php.net>

- MFH Fix naming inconsistency (providing old name as alias)


# e936de9d 18-Feb-2006 Marcus Boerger <helly@php.net>

- Fix naming inconsistency reported by sebastian


# eaacf0bb 13-Feb-2006 Ilia Alshanetsky <iliaa@php.net>

MFB51: Fixed bug #36337 (ReflectionProperty fails to return correct visibility).


# 1e05eec5 13-Feb-2006 Ilia Alshanetsky <iliaa@php.net>

Fixed bug #36337 (ReflectionProperty fails to return correct visibility).


# 09ca61c1 13-Feb-2006 Dmitry Stogov <dmitry@php.net>

Made server wide switch for unicode on/off (according to PDM).


# 0e61422e 08-Feb-2006 Ilia Alshanetsky <iliaa@php.net>

MFB51: Fixed bug #36308 (ReflectionProperty::getDocComment() does not reflect
extended class commentary).


# 0a6b0740 08-Feb-2006 Ilia Alshanetsky <iliaa@php.net>

Fixed bug #36308 (ReflectionProperty::getDocComment() does not reflect
extended class commentary).


# beea6352 06-Feb-2006 Michael Wallner <mike@php.net>

MFH: fix ReflectionClass::getInterfaces()


# 43550c7f 06-Feb-2006 Michael Wallner <mike@php.net>

- fix ReflectionClass::getInterfaces()


# b22ab5b5 30-Jan-2006 Antony Dovgal <tony2001@php.net>

fix printf-style formats


# cb4bb6e3 25-Jan-2006 Marcus Boerger <helly@php.net>

- MFH Bug #36141 Add ReflectionClass::newInstanceArgs($args)


# 0e42375d 24-Jan-2006 Marcus Boerger <helly@php.net>

- Implemented #36141 Add ReflectionClass::newInstanceArgs($args)


# 227295a4 17-Jan-2006 Dmitry Stogov <dmitry@php.net>

Unicode stuff is changed according to decision maden on PDM.
Now IS_BINRAY data type is removed and IS_STRING starts behave as IS_BINARY in unicode mode. IS_STRING is incompatible with IS_UNICODE, so ALL functions should be improved to support unicode mode.


# 251c5173 01-Jan-2006 foobar <sniper@php.net>

bump year and license version


# 5bd93221 01-Jan-2006 foobar <sniper@php.net>

bump year and license version


# 9e23794c 18-Dec-2005 Antony Dovgal <tony2001@php.net>

MFB: fix typo


# 8aedeb85 18-Dec-2005 Antony Dovgal <tony2001@php.net>

tix fypo


# af1d83d7 11-Dec-2005 Marcus Boerger <helly@php.net>

- Fix MFH (oversight problem)


# 3e669bc9 06-Dec-2005 foobar <sniper@php.net>

MFH: nuke php3 legacy


# a208d9a9 06-Dec-2005 foobar <sniper@php.net>

- Nuke php3 legacy


# 8fa72be4 06-Dec-2005 foobar <sniper@php.net>

- Nuke php3_compat.h


# feaa2501 01-Dec-2005 Dmitry Stogov <dmitry@php.net>

Fixed bug #34729 (Crash in ZTS mode under Apache)


# 8768ab94 01-Dec-2005 Dmitry Stogov <dmitry@php.net>

Fixed bug #34729 (Crash in ZTS mode under Apache)


# 7cb0480d 30-Nov-2005 Marcus Boerger <helly@php.net>

- Moved reflection into its own extension


# fac6e1b4 24-Nov-2005 Marcus Boerger <helly@php.net>

- License for core extensions is PHP License
- Add Johannes to credits for his work here


# 41cc009a 23-Nov-2005 Johannes Schlüter <johannes@php.net>

Changed reflection constants to class constants


# a8641486 21-Nov-2005 Dmitry Stogov <dmitry@php.net>

Fixed "getParameters" method


# 71b8ed31 18-Nov-2005 Marcus Boerger <helly@php.net>

- Disabled globals code in a way that does not affect purist or old compilers


# a40a48fb 17-Nov-2005 Marcus Boerger <helly@php.net>

- Move Reflection into its own extension


# c21ced1e 17-Nov-2005 Marcus Boerger <helly@php.net>

- Not in this branch


# 8bb39e7d 15-Nov-2005 Dmitry Stogov <dmitry@php.net>

Allow recursive calls to __get/__set for different properties


# 64931b62 15-Nov-2005 Dmitry Stogov <dmitry@php.net>

Allow recursive calls to __get/__set for different properties


# 6ef42398 21-Oct-2005 Dmitry Stogov <dmitry@php.net>

Fixed bug #29268 (__autoload() not called with Reflection->getClass())


# 863bf8a5 21-Oct-2005 Dmitry Stogov <dmitry@php.net>

Fixed bug #29268 (__autoload() not called with Reflection->getClass())


# 5fdeb391 20-Oct-2005 Antony Dovgal <tony2001@php.net>

MFH: fix copy/paste typo


# fc834fef 20-Oct-2005 Antony Dovgal <tony2001@php.net>

copy/paste typo


# c49a1999 16-Oct-2005 Marcus Boerger <helly@php.net>

- Add ability to access private properties of base classes
- Add ability to specify fully qualified name for properties
- ReflectionClass::getInterfaces89 now returns associative array


# d4190c05 09-Oct-2005 Marcus Boerger <helly@php.net>

- Add 'overwrites' info to method dump
# Right now we have to compute that information because it is not available


# c188afdd 08-Oct-2005 Marcus Boerger <helly@php.net>

- Add ReflectionMethod::getPrototype()
- Add some usefull information to the method dump
. From where it was inherited
. The prototype


# dec65f58 06-Oct-2005 Marcus Boerger <helly@php.net>

- MFH ReflectionClass::isInstantiable and abstract classes


# 59557385 03-Oct-2005 Marcus Boerger <helly@php.net>

- Make reflection class pointers available for others


# 6265c162 23-Sep-2005 Marcus Boerger <helly@php.net>

- Remove unused variable


# 2c6cf58a 19-Sep-2005 Marcus Boerger <helly@php.net>

- Add eytension consts to extension output (Johannes)
- Fix WS in output


# 4d8290d0 19-Sep-2005 Dmitry Stogov <dmitry@php.net>

Unicode support


# 21e809b7 16-Sep-2005 Antony Dovgal <tony2001@php.net>

MFH: check class_entry of this_ptr in Reflection API


# 1b1c0e3c 16-Sep-2005 Antony Dovgal <tony2001@php.net>

check class_entry of this_ptr in Reflection API, so we won't get an alien this_ptr
when called statically in a function that is called statically too (without being
declared as static)


# f43767b2 16-Sep-2005 Antony Dovgal <tony2001@php.net>

fix #34505 (possible memory corruption when unmangling properties with empty names)
1st part


# 387e3530 13-Sep-2005 Andrei Zmievski <andrei@php.net>

Fix for Unicode access.


# 248345d9 01-Sep-2005 Dmitry Stogov <dmitry@php.net>

Support for class constants and static members for internal classes


# 7b755108 01-Sep-2005 Dmitry Stogov <dmitry@php.net>

Support for class constants and static members for internal classes


# 0165ab62 30-Aug-2005 Marcus Boerger <helly@php.net>

- Adds module registering a function to struct zend_internal_function.
(Johannes)
# This information is by reflection API and error messages.


# 650c3d20 30-Aug-2005 Marcus Boerger <helly@php.net>

- Fix const speling (correct in branshes where did it vanish here)


# 7230be49 30-Aug-2005 Dmitry Stogov <dmitry@php.net>

Fixed possible memory leak


# 93c08f1c 30-Aug-2005 Dmitry Stogov <dmitry@php.net>

Fixed possible memory leak


# 51e3db28 29-Aug-2005 Marcus Boerger <helly@php.net>

- Fix #34299: ReflectionClass::isInstantiable() returns true for abstract classes


# 90393d67 19-Aug-2005 Dmitry Stogov <dmitry@php.net>

Unicode support


# b0e24970 19-Aug-2005 Dmitry Stogov <dmitry@php.net>

Unicode support cleanup


# 48def9a6 17-Aug-2005 Dmitry Stogov <dmitry@php.net>

Unicode support


# f4ea6b06 17-Aug-2005 Dmitry Stogov <dmitry@php.net>

Fixed bug #32981 (ReflectionMethod::getStaticVariables() causes apache2.0.54 seg fault)


# 976edd47 17-Aug-2005 Dmitry Stogov <dmitry@php.net>

Fixed bug #32981 (ReflectionMethod::getStaticVariables() causes apache2.0.54 seg fault)


# 52b001cc 12-Aug-2005 Sebastian Bergmann <sebastian@php.net>

ZTS fixes.


# 21c1109e 12-Aug-2005 Dmitry Stogov <dmitry@php.net>

Unicode support


# b80cb7bd 11-Aug-2005 Andrei Zmievski <andrei@php.net>

Unicode support


# b58f366c 11-Aug-2005 Antony Dovgal <tony2001@php.net>

MF5.1: fix #34078 (Reflection API problems in methods with boolean or null default values)

(andrei said to sara a few hours ago you may commit whatever you want until 9pm) (c) helly
if there are any problems with this patch - please tell me, I'll revert it immediately


# 565c7708 11-Aug-2005 Antony Dovgal <tony2001@php.net>

fix #34078 (Reflection API problems in methods with boolean or null default values)


# 916815b7 03-Aug-2005 foobar <sniper@php.net>

Bump up the year


# 345e0255 07-Jul-2005 Dmitry Stogov <dmitry@php.net>

Fixed bug #33512 (Add missing support for isset()/unset() overloading to complement the property get/set methods)


# e656b829 21-Jun-2005 Ilia Alshanetsky <iliaa@php.net>

Fixed memory leak.

# Found by valgrind w/o zend-mm being used.


# f554eba8 20-Jun-2005 Marcus Boerger <helly@php.net>

- Fix bug #33389 by fixing copying


# 758503e2 20-Jun-2005 Marcus Boerger <helly@php.net>

- Show true/flase


# 7a7cda7a 16-Jun-2005 Marcus Boerger <helly@php.net>

- Internal functions/methods can now return by reference


# e6dcba60 13-Jun-2005 Dmitry Stogov <dmitry@php.net>

Fixed bug #33312 (ReflectionParameter methods do not work correctly)


# 26c3944d 10-Jun-2005 Dmitry Stogov <dmitry@php.net>

Fixed support for ZEND_ACC_SHADOW in ReflectionProperty constructor


# 2cb52151 09-Jun-2005 Stanislav Malyshev <stas@php.net>

MF50: fix #29689 and more private property problems


# 9cf513df 08-Jun-2005 Dmitry Stogov <dmitry@php.net>

Fixed ReflectionClass::setStaticPropertyValue()


# 1a723413 26-May-2005 Dmitry Stogov <dmitry@php.net>

Added array type hinting. (This patch requires full re-make)


# c1e480d4 12-May-2005 Marcus Boerger <helly@php.net>

- Make ReflectionObject::hasProperty() recognize dynamically added props


# 11a91f04 25-Apr-2005 Sebastian Bergmann <sebastian@php.net>

Correct grammar.


# 67a226d9 19-Apr-2005 Marcus Boerger <helly@php.net>

- Add ReflectionProperty::getDocComment()


# 86ac9559 06-Mar-2005 Marcus Boerger <helly@php.net>

- Fix by Tim


# c4bc32ff 27-Feb-2005 Marcus Boerger <helly@php.net>

- Add two new methods
- Fix signature, no need to cast it


# 30d9fd6b 23-Feb-2005 Derick Rethans <derick@php.net>

- Fixed bug #32076 (ReflectionMethod :: isDestructor() always return true)
(Patch by Antony Dogval)


# a57b6bad 13-Feb-2005 Marcus Boerger <helly@php.net>

- Be more gracious in reflection API


# 0bb81ce1 31-Jan-2005 Marcus Boerger <helly@php.net>

- Add ReclectionClass:hasProperty(), ReflectionClass::hasConstant()
to complete api (johannes@php.net)


# 1d5c13bd 22-Jan-2005 Marcus Boerger <helly@php.net>

- Fix #31651 (ReflectionClass::getDefaultProperties segfaults with arrays.)


# 7be33a22 27-Dec-2004 Marcus Boerger <helly@php.net>

- Need to unmangle the class name here


# 03af7c8a 27-Dec-2004 Marcus Boerger <helly@php.net>

- More proto/error message fixes


# 4b80deed 27-Dec-2004 Marcus Boerger <helly@php.net>

- Small fixlet (by Tony)


# 8c7bd30a 25-Dec-2004 Marcus Boerger <helly@php.net>

- Add ReflectionClass::hasMethod() (thanks to Johannes S.)


# 520097b0 24-Nov-2004 Marcus Boerger <helly@php.net>

- Fix Bug #30856 (ReflectionClass::getStaticProperties segfaults)


# 95ff205e 14-Nov-2004 Marcus Boerger <helly@php.net>

- Bugix #30783: Apache crash when using ReflectionFunction::getStaticVariables()


# fcbd8c4f 03-Nov-2004 Marcus Boerger <helly@php.net>

- Trying to invoke function not methot here


# 63b288c4 03-Nov-2004 Marcus Boerger <helly@php.net>

- Fix invokeargs() with static methods


# 41b87ab4 31-Oct-2004 Marcus Boerger <helly@php.net>

- Add ReflectionFunction::invokeArgs(array)
- Add ReflectionMethod::invokeArgs(obj, array)


# e1a941b4 31-Oct-2004 Sebastian Bergmann <sebastian@php.net>

Invokation -> Invocation


# 9d7cba9d 30-Oct-2004 Marcus Boerger <helly@php.net>

- Be consistent and use names as keys (found by johannes)


# 8bf02ee6 30-Oct-2004 Marcus Boerger <helly@php.net>

- Fix protos


# ca6558a4 06-Oct-2004 Marcus Boerger <helly@php.net>

- Fix Bug #30344


# b907755e 28-Sep-2004 Marcus Boerger <helly@php.net>

- publish reflection_class_factory() as zend_reflection_class_factory()


# 3fec3a91 27-Sep-2004 Marcus Boerger <helly@php.net>

- Make internally used properties read-only and fix default properties


# 8d587ce3 27-Sep-2004 Marcus Boerger <helly@php.net>

- Declare properties


# 9291a7fa 27-Sep-2004 Marcus Boerger <helly@php.net>

Fix Reflection_Class to ReflectionClass in docu/messages


# 04fe8184 27-Sep-2004 Marcus Boerger <helly@php.net>

- Fix warnings


# e13eb1d6 23-Sep-2004 Marcus Boerger <helly@php.net>

Bugfix # 30209


# d0cfb7d3 19-Sep-2004 Marcus Boerger <helly@php.net>

Bugfix #30146 (ReflectionProperty->getValue() requires instance for static property)


# 43d9ade9 19-Sep-2004 Marcus Boerger <helly@php.net>

Bugfix #30148 (ReflectionMethod->isConstructor() fails for inherited classes)


# 308081cd 19-Aug-2004 Marcus Boerger <helly@php.net>

- Implement #29728: Reflection API Feature: Default parameter value.
. ReflectionParameter::isDefaultValueAvailable()
. ReflectionParameter::getDefaultValue()


# 5e1a0f4c 19-Aug-2004 Marcus Boerger <helly@php.net>

- Nedd to work on copy


# 35fec423 18-Aug-2004 Marcus Boerger <helly@php.net>

- Show default value of optional parameters of user defined functions.


# 041d23d7 16-Aug-2004 Marcus Boerger <helly@php.net>

- Fix bug #29447: Reflection API issues


# 90e4fd0a 04-Aug-2004 Marcus Boerger <helly@php.net>

- Fix bug #29523 (ReflectionParameter::isOptional() is incorrect)


# 84b90d68 02-Aug-2004 Marcus Boerger <helly@php.net>

- Add methods to check parameter count


# 7e914380 25-Jul-2004 Marcus Boerger <helly@php.net>

- Show visibility errors (try to fix #29354)


# 40bf1031 25-Jul-2004 Marcus Boerger <helly@php.net>

- Add ReflectionParameter::isOptional() to test whether a parameter is
optional and also show this information in export.


# 446cc107 20-Jul-2004 Marcus Boerger <helly@php.net>

- Fixed bug 28895 again (long live the dead)


# fb3c3057 19-Jul-2004 Sebastian Bergmann <sebastian@php.net>

Fix prototypes: Reflection_* -> Reflection*.


# 045d395d 19-Jul-2004 Sebastian Bergmann <sebastian@php.net>

Make ReflectionClass::getMethod() and ReflectionClass::getProperty() raise an ReflectionException instead of returning NULL on failure.


# 32e125e2 19-Jul-2004 Sebastian Bergmann <sebastian@php.net>

Do not use contracted forms.


# f0903895 19-Jun-2004 Sebastian Bergmann <sebastian@php.net>

Reflection_* -> Reflection*. Patch by Timm Friebe.


# 4fec0658 15-Jun-2004 Marcus Boerger <helly@php.net>

#28789: ReflectionProperty getValue() fails on public static members


# eb0cb6f6 10-Jun-2004 Marcus Boerger <helly@php.net>

Small code layout change


# e8e4ff0a 10-Jun-2004 Marcus Boerger <helly@php.net>

Bugfix #28699: Reflection api bugs


# 42131533 09-Jun-2004 Marcus Boerger <helly@php.net>

Fix Bug #28694 ReflectionExtension::getFunctions() crashes PHP


# 9b8eee74 31-May-2004 Marcus Boerger <helly@php.net>

Refcount must not be set separatley again.


# 20b60f49 31-May-2004 Marcus Boerger <helly@php.net>

Add missing initialization


# 21315c08 31-May-2004 Marcus Boerger <helly@php.net>

Add missing initialization


# e780c42f 27-Apr-2004 Andi Gutmans <andi@php.net>

- Fix prototypes


# 54e5ad6b 26-Apr-2004 Marcus Boerger <helly@php.net>

Fix prototype


# 286f75c8 25-Apr-2004 Marcus Boerger <helly@php.net>

Show number of classes


# be85c904 19-Apr-2004 Marcus Boerger <helly@php.net>

show ini entries and classes for extensions.


# 8ccfca0c 08-Apr-2004 Marcus Boerger <helly@php.net>

Bugfix #27519 Reflection_Function constructor crashes with non-existant
function's name


# 1c5ea0d7 31-Mar-2004 Andi Gutmans <andi@php.net>

- Fix typo


# b4bc9946 30-Mar-2004 Marcus Boerger <helly@php.net>

TSRM fix


# 52303217 30-Mar-2004 Marcus Boerger <helly@php.net>

- 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...


# 83675b66 28-Mar-2004 Marcus Boerger <helly@php.net>

Fix memleak found by Timm


# 50ee116f 09-Mar-2004 Marcus Boerger <helly@php.net>

Clearify the different method/class flags (as discussed with Andi).


# 5208baee 08-Mar-2004 Marcus Boerger <helly@php.net>

Add another missing conversion


# 161ed697 01-Mar-2004 Andi Gutmans <andi@php.net>

- Fix leak


# 0f1382e1 01-Mar-2004 Andi Gutmans <andi@php.net>

- Fix crash in reflection API (pierre)


# 37ddf8e9 29-Feb-2004 Andi Gutmans <andi@php.net>

- Apply fixes by Timm.


# 3e1f3b21 26-Feb-2004 Marcus Boerger <helly@php.net>

Fix problem with Reflection_Property (patch from Timm slightly modified).


# 0cfb59fc 25-Feb-2004 Sebastian Bergmann <sebastian@php.net>

Proto fixes.


# 00ed3bad 12-Feb-2004 Zeev Suraski <zeev@php.net>

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


# fde9bac4 11-Feb-2004 Zeev Suraski <zeev@php.net>

Fix crash (patch by Rob Richards)


# 63c964c4 04-Feb-2004 Marcus Boerger <helly@php.net>

Fix reflection


# f5f7d569 04-Feb-2004 Zeev Suraski <zeev@php.net>

Change destructor implementation (details will follow on internals@)


# 46be4c26 31-Jan-2004 Marcus Boerger <helly@php.net>

Throw an exception in case a reflection object cannot be found and do not
override the exception from constructors in static method calls.


# 0a210d79 18-Jan-2004 Marcus Boerger <helly@php.net>

Fix some casing issues


# b6b3443d 16-Jan-2004 foobar <sniper@php.net>

- Fixed bug #26640 (__autoload() not invoked by Reflection classes)

# Also removed double call of reflection_register_implement() on
# reflection_extension_ptr.
# Fixed also case-insensitive lookup of property names,
# now Reflection_Property('Classname', 'FooBar'); works too.


# ccfc46b0 08-Jan-2004 foobar <sniper@php.net>

- Happy new year and PHP 5 for rest of the files too..
# Should the LICENSE and Zend/LICENSE dates be updated too?


# 6923a16c 03-Jan-2004 Derick Rethans <derick@php.net>

- Fixed var_export() to show public, protected and private modifiers properly.
- Exported (un)mangle_property_name.


# b58d3719 22-Dec-2003 Marcus Boerger <helly@php.net>

Fixed bug #26695 (Reflection API does not recognize mixed-case class hints)
# The exception part


# 2d928135 15-Dec-2003 Dmitry Stogov <dmitry@php.net>

Memory corruptions were fixed in zend_str_tolower_copy()


# d344648b 24-Nov-2003 Andi Gutmans <andi@php.net>

- Fix __autoload() to preserve class case.
- Heads up, this patch might break stuff so please let me know if you
- bump into any problems.


# ceaddf23 23-Nov-2003 Andi Gutmans <andi@php.net>

- Allocation optimizations by Timm Friebe


# e7233928 08-Nov-2003 Marcus Boerger <helly@php.net>

Add method reflection_class::implementsInterface()
Allow string & reflection_class in isSubclassOf()


# ab6b1adf 08-Nov-2003 Marcus Boerger <helly@php.net>

Fix reflection_class::isSubclassOf()


# da8ce17f 25-Oct-2003 Marcus Boerger <helly@php.net>

This forces a better error message for non working clone calls.


# fe3db4c7 25-Oct-2003 Marcus Boerger <helly@php.net>

You shall not clone reflection_xx instances


# 641a55a4 17-Oct-2003 Marcus Boerger <helly@php.net>

Show if a class/object is iterateable


# 43a94837 17-Oct-2003 Marcus Boerger <helly@php.net>

Fix showing final/abstract for classes


# 0266efb8 20-Sep-2003 Marcus Boerger <helly@php.net>

Add public array Reflection_Class::getDefaultProperties()


# 5b3bb165 18-Sep-2003 Marcus Boerger <helly@php.net>

Go with studlyCaps


# f8a376fe 18-Sep-2003 Marcus Boerger <helly@php.net>

Change tostring() into __toString() to match method name used in casting.


# d2088841 16-Sep-2003 Marcus Boerger <helly@php.net>

- Make it clear whether it is an interface or a class
- Fix static properties


# a986b3f6 06-Sep-2003 Marcus Boerger <helly@php.net>

Add missing newline if no static methods are available


# 10ea007e 06-Sep-2003 Marcus Boerger <helly@php.net>

- Internal functions shall be static
- Fix more nesting


# 35529e19 06-Sep-2003 Marcus Boerger <helly@php.net>

Fix logic


# c31fc777 06-Sep-2003 Marcus Boerger <helly@php.net>

- Fix CS: {{{ / }}}
- Fix static reflection_*::export()
- Add class reflection_object which allows to show dynamic properties


# f5b11144 06-Sep-2003 Marcus Boerger <helly@php.net>

Use %s where it makes more sense


# 79a507e4 05-Sep-2003 Marcus Boerger <helly@php.net>

Simplify reflection_property::__constructor() and fix property factory


# 9a39cd55 05-Sep-2003 Marcus Boerger <helly@php.net>

- Don't use resorved words as variable names.
- Improve several exception messages.
- Fix Reflection_Property::_construct() / getDeclaringClass()
# The above does not imply that properties are fixed when returned
# by other reflection api methods.


# 34990374 05-Sep-2003 Marcus Boerger <helly@php.net>

Fix reflection_api::__construct() (noticed by Andrey)


# 4e7a782f 04-Sep-2003 Marcus Boerger <helly@php.net>

Add reflection_class::getstaticproerties()


# 2f6e25da 03-Sep-2003 Marcus Boerger <helly@php.net>

Clearly distinguish between Const, Static and Other members.
# Const and static props have more in common then static and dynamic/implicit.


# 560d3ab3 02-Sep-2003 Marcus Boerger <helly@php.net>

Use appropriate function for property name unmangling.
# Make Andrey happy


# 7148cb9e 02-Sep-2003 Marcus Boerger <helly@php.net>

Make these static as noticed by Andrey


# bd86aff0 02-Sep-2003 Marcus Boerger <helly@php.net>

These are implicit properties as denoted by the flag. Dynamic properties only
exist in one single object and currently reflection api is not capable of
showing those.


# bca0019d 01-Sep-2003 Marcus Boerger <helly@php.net>

Fix initial buffer size


# 2b19c543 01-Sep-2003 Marcus Boerger <helly@php.net>

Fix class handling of invoke


# bef3e13c 01-Sep-2003 Marcus Boerger <helly@php.net>

Add missing '}'


# cbd08869 01-Sep-2003 Marcus Boerger <helly@php.net>

Add static reflector::export() and its implementations.
#
# This makes the main reflection use a lot easier.
#


# a389286b 01-Sep-2003 Marcus Boerger <helly@php.net>

Set the params in the struct


# 4506d4ea 31-Aug-2003 Marcus Boerger <helly@php.net>

Don't repeat first const count(consts) time


# 660c14e7 31-Aug-2003 Marcus Boerger <helly@php.net>

Beautify output


# 4af06210 31-Aug-2003 Marcus Boerger <helly@php.net>

Add reflection_parameters, patch by Timm Friebe


# 8376b7ef 31-Aug-2003 Marcus Boerger <helly@php.net>

Check whether we may access tat union


# ade319ac 31-Aug-2003 Marcus Boerger <helly@php.net>

Using zend_spprintf should be faster here


# f1c92fa4 30-Aug-2003 Marcus Boerger <helly@php.net>

- Calling abstract methods should be a error for consistency reason.
- So in reflection_api we use the reflection_exception again.


# 6c69b287 30-Aug-2003 Marcus Boerger <helly@php.net>

fci.function_table & fci.function_name are not needed since we use zend_fcall_info_cache


# e6795048 30-Aug-2003 Marcus Boerger <helly@php.net>

Be precise


# 49a538d0 30-Aug-2003 Marcus Boerger <helly@php.net>

Actually using fcc would be a good idea


# 50040c8a 29-Aug-2003 Marcus Boerger <helly@php.net>

- Use zend_fcall_info_cache in invoke() to improve speed.
# This also fixes the problem with calling static methods.


# 43836e97 27-Aug-2003 Marcus Boerger <helly@php.net>

Nuke unused variable
# I should have taken Timm's patch


# 7f519695 27-Aug-2003 Marcus Boerger <helly@php.net>

Fix reflection_class::newInstance()


# cec053f7 24-Aug-2003 Marcus Boerger <helly@php.net>

Don't identify alias'ed functions


# e44d0f52 24-Aug-2003 Marcus Boerger <helly@php.net>

Add dedicated reflection_exception


# 669603f6 24-Aug-2003 Marcus Boerger <helly@php.net>

Make invoke() work


# 96d4ac7a 24-Aug-2003 Marcus Boerger <helly@php.net>

zend_parse_parameters 'O' works the way we need here


# 418a7f98 24-Aug-2003 Marcus Boerger <helly@php.net>

Not needed


# bd07968b 24-Aug-2003 Marcus Boerger <helly@php.net>

- Add Reflection_Function::isAlias
- Use ZEND_ME/ZEND_METHOD
- Fix static entries


# c3d60fd7 23-Aug-2003 Marcus Boerger <helly@php.net>

Allow zend_throw_exception() to also set the exception code


# 5e77dc44 23-Aug-2003 Marcus Boerger <helly@php.net>

Show ctor/dtor information and those don't return anything


# 0e32aaa8 21-Aug-2003 Marcus Boerger <helly@php.net>

Add function 'zend_throw_exception(char *message, int duplicate TSRMLS_DC);'
to provide an easy way to throw exceptions for extension developers.


# 717b5afe 17-Aug-2003 Marcus Boerger <helly@php.net>

Fix warnings


# fe1a086d 16-Aug-2003 Marcus Boerger <helly@php.net>

Simplify abstract method declaration


# 92b4013e 05-Aug-2003 Zeev Suraski <zeev@php.net>

Try to put an end to the endless number of call_user_function variants.
zend_call_function() now takes a structure that should contain all of the
necessary information. If further information is necessary in the future,
then we'll be able to add it without having to introduce a new function.

As for caching - the 2nd, optional argument is a struct that can hold all
of the information that's necessary to invoke the function, including its
handler, scope and object it operates on (if any). Note that you may only
use a cache if the arguments you provide to zend_call_function() are
identical to the ones of the last call, except for the argument and return
value information.


The recently introduced fast_call_user_function() was removed

I fixed most of the places that used fast_call_user_function() to use caching
but there are still some that need to be fixed (XML and reflection)


# 3597704c 04-Aug-2003 Marcus Boerger <helly@php.net>

Add function/method parameter reflection


# f8bbafd6 03-Aug-2003 Zeev Suraski <zeev@php.net>

ntroduce infrastructure for supplying information about arguments,
including:

- Whether or not to pass by ref (replaces the old arg_types, with arg_info)
- Argument name (for future use, maybe introspection)
- Class/Interface name (for type hints)
- If a class/interface name is available, whether to allow a null instance

Both user and builtin functions share the same data structures.

To declare a builtin function that expects its first arg to be an instance
of class 'Person', its second argument as a regular arg, and its third by
reference, use:

ZEND_BEGIN_ARG_INFO(my_func_arg_info, 0)
ZEND_ARG_OBJ_INFO(0, someone, Person, 1)
ZEND_ARG_PASS_INFO(0)
ZEND_ARG_PASS_INFO(1)
ZEND_END_ARG_INFO();

and use my_func_arg_info as the arg_info parameter to the ZEND_FE() family
of macros.

The first arg to each ZEND_ARG_*() macro is whether or not to pass by ref.

The boolean arg to ZEND_BEGIN_ARG_INFO() tells the engine whether to treat
the arguments for which there's no explicit information as pass by reference
or not.
The boolean argument to ZEND_ARG_OBJ_INFO() (4th arg) is whether or not to allownull values.


# 04c90c87 02-Aug-2003 Marcus Boerger <helly@php.net>

Show interfaces


# 786afb48 23-Jul-2003 Sebastian Bergmann <sebastian@php.net>

Fix segfault. Patch by Timm Friebe <thekid@thekid.de>.


# 600f72f7 20-Jul-2003 George Schlossnagle <gschlossnagle@php.net>

should nt here


# cfe2eda4 20-Jul-2003 Marcus Boerger <helly@php.net>

Fix warnings and whitespace in output


# 23da3057 20-Jul-2003 Marcus Boerger <helly@php.net>

Add support for instances in Reflection_Class.
# Thanks to Timm for the fast patch contained reply to my help request :-)))


# 7c7de5eb 20-Jul-2003 George Schlossnagle <gschlossnagle@php.net>

removed references to smart_str, replaced with private string management
function. When snprintf is integrated into the engine, string_printf
should be altered to use that.


# 84f5e487 20-Jul-2003 George Schlossnagle <gschlossnagle@php.net>

more of Timm's implementation.


# c86b4d13 04-Jul-2003 Sebastian Bergmann <sebastian@php.net>

2 * TSRMLS_FETCH() -> 1 * TSRMLS_DC


# 96b71d7f 04-Jul-2003 George Schlossnagle <gschlossnagle@php.net>

ws fix


# edf78b21 03-Jul-2003 George Schlossnagle <gschlossnagle@php.net>

win build fixes (Rob Richards)


# 6a4c48be 03-Jul-2003 George Schlossnagle <gschlossnagle@php.net>

can't forget Andrei


# 3d7283b9 03-Jul-2003 George Schlossnagle <gschlossnagle@php.net>

more of Timm's patches, and mod authors line to give credit where credit is due.


# c36a59cf 01-Jul-2003 George Schlossnagle <gschlossnagle@php.net>

Timm Friebe's patches for code celanup and additional functions.


# fff7ef2f 01-Jul-2003 Sebastian Bergmann <sebastian@php.net>

ZTS fixes.


# 4edd9505 01-Jul-2003 George Schlossnagle <gschlossnagle@php.net>

more incremental changes. add anything that needs a class factory.


# 9c26571b 01-Jul-2003 George Schlossnagle <gschlossnagle@php.net>

all the easy parts of Reflection_Class


# 288dacca 30-Jun-2003 Andi Gutmans <andi@php.net>

- ZE coding style requires if ( instead of if(


# 5ee72bb4 30-Jun-2003 Sebastian Bergmann <sebastian@php.net>

ZTS fixes. Remove unused local variables.


# aa96d170 30-Jun-2003 George Schlossnagle <gschlossnagle@php.net>

added support for Reflection_Function, the first part of
the reflection api