History log of /PHP-7.3/ext/reflection/php_reflection.c (Results 26 – 50 of 698)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# bddb085a 27-Jun-2018 Nikita Popov

Store unmangled name in ReflectionProperty

Avoid redundant unmangles and string copies, where possible.


# 78f2a1b8 27-Jun-2018 Nikita Popov

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 properti

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.

show more ...


# 7f67513c 25-Jun-2018 Dmitry Stogov

Lazy function copying from op_cache SHM into process memory


# c8f355b1 25-Jun-2018 Dmitry Stogov

Micro-optimization


# 2543e61a 22-Jun-2018 Nikita Popov

Fixed bug #76509

In PHP static properties are shared between inheriting classes,
unless they are explicitly overwritten. However, because this
functionality was implemented using ref

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.

show more ...


# 4418d61c 21-Jun-2018 Dmitry Stogov

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


Revision tags: php-7.3.0alpha2, php-7.1.19, php-7.2.7, php-7.1.19RC1, php-7.3.0alpha1, php-7.2.7RC1
# ede39739 02-Jun-2018 Peter Kokot

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
repo

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).

show more ...


# f2b4ec4b 31-May-2018 Dmitry Stogov

Export standard object handlers, to avoid indirect access


# d90c6f24 29-May-2018 Dmitry Stogov

Removed useless zval_ptr_dtor()


# 5eb1f92f 28-May-2018 Dmitry Stogov

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


Revision tags: php-7.1.18, php-7.2.6, php-7.2.6RC1, php-7.1.18RC1
# 524f5245 08-May-2018 Dmitry Stogov

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

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_autoloa

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.

show more ...


Revision tags: php-5.6.36, php-7.2.5, php-7.1.17, php-7.0.30, php-7.1.17RC1, php-7.2.5RC1, php-5.6.35, php-7.0.29, php-7.2.4, php-7.1.16
# 1af60a2a 14-Mar-2018 Dmitry Stogov

Keep initialized object_handlers structures in read-only memory.


Revision tags: php-7.1.16RC1, php-7.2.4RC1
# 70a1b23c 07-Mar-2018 Anatol Belski

Remove unused assignment


Revision tags: php-7.1.15, php-5.6.34, php-7.2.3, php-7.0.28, php-7.2.3RC1, php-7.1.15RC1
# 0f2be28b 12-Feb-2018 Gabriel Caruso

Fix typo


# b4dff683 04-Feb-2018 Nikita Popov

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.


Revision tags: php-7.1.14, php-7.2.2, php-7.1.14RC1, php-7.2.2RC1
# 12c386f5 11-Jan-2018 Dmitry Stogov

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

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).

show more ...


# 6ba10a03 11-Jan-2018 Dmitry Stogov

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)

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.

show more ...


# 781e1573 11-Jan-2018 Dmitry Stogov

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


Revision tags: php-7.1.13, php-5.6.33, php-7.2.1, php-7.0.27
# 64002648 31-Dec-2017 Gabriel Caruso

Trailing whitespaces

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


# a6519d05 02-Jan-2018 Xinchen Hui

year++


# 7a7ec01a 02-Jan-2018 Xinchen Hui

year++


# ccd4716e 02-Jan-2018 Xinchen Hui

year++


# d9f5ea69 27-Dec-2017 Dmitry Stogov

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

Use cheaper API


12345678910>>...28