History log of /PHP-7.4/ext/reflection/php_reflection.c (Results 151 – 175 of 759)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: php-5.6.26, php-7.1.0RC2, php-7.0.11
# d690014b 11-Sep-2016 Andrea Faulds

Remove zpp fallback code (always use Fast ZPP)

Squashed commit of the following:

commit 3e27fbb3d22b42d181e15c345f1c59a007b6b58c
Author: Andrea Faulds <ajf@ajf.me>
Date: S

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

show more ...


Revision tags: php-5.6.26RC1, php-7.1.0RC1, php-7.0.11RC1
# f4e68a39 23-Aug-2016 Levi Morrison

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

This reverts commit 8855a2ce76e8bfba1d2eea1345c765fde7a9a441.


# 8855a2ce 20-Aug-2016 Aaron Piotrowski

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

Better BC with 7.0.


# dfed09af 20-Aug-2016 Nikita Popov

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

Review mistake...


Revision tags: php-7.1.0beta3, php-5.6.25, php-7.0.10
# 20fdd479 16-Aug-2016 Aaron Piotrowski

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


# 60de74eb 15-Aug-2016 Xinchen Hui

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


# 622d2f41 09-Aug-2016 Aaron Piotrowski

ReflectionType improvements

Added ReflectionNamedType and updated ReflectionType::__toString()


# f706897f 07-Aug-2016 Christoph M. Becker

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 st

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.

show more ...


Revision tags: php-7.1.0beta2, php-5.6.25RC1, php-7.0.10RC1
# a3a797db 24-Jul-2016 Xinchen Hui

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


Revision tags: php-7.1.0beta1, php-5.6.24, php-7.0.9, php-5.5.38, php-5.6.24RC1, php-7.1.0alpha3, php-7.0.9RC1, php-7.1.0alpha2, php-7.0.8, php-5.6.23, php-5.5.37, php-5.6.23RC1, php-7.0.8RC1, php-7.1.0alpha1, php-5.6.22, php-5.5.36, php-7.0.7
# eb190b4e 15-May-2016 nikita2206

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


# e4b1bfc0 29-Jun-2016 Aaron Piotrowski

Add missed return replacing bail out


# 0cfb4765 28-Jun-2016 Dmitry Stogov

Fixed compilation warnings


# 323b2733 21-Jun-2016 Dmitry Stogov

Fixed compilation warnings


# 771e5cc2 11-Jun-2016 Aaron Piotrowski

Replace zend_ce_error with NULL and replace more E_ERROR with thrown Error


# ea355206 01-Jun-2016 Danack

Cleanup spurious changes.


# 63ca65da 15-May-2016 Danack

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

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


Revision tags: php-5.6.22RC1, php-7.0.7RC1
# a1ed4ab3 10-May-2016 Nikita Popov

Fixed bug #72174

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


# 4b0f9586 02-May-2016 Nikita Popov

Add missing update_constants in ReflectionClassConstant

Also fix indentation of __toString().


# 5595dd5f 29-Apr-2016 Nikita Popov

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

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

show more ...


# a1c405e0 29-Apr-2016 Nikita Popov

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.


Revision tags: php-7.0.6
# 6499162f 28-Apr-2016 Dmitry Stogov

- 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"

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

show more ...


Revision tags: php-5.6.21, php-5.5.35
# f0a2e8eb 27-Apr-2016 Dmitry Stogov

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


Revision tags: php-5.6.21RC1, php-7.0.6RC1
# 64f91774 10-Apr-2016 Nikita Popov

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 retu

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.

show more ...


# 7abfaac9 01-Apr-2016 Dmitry Stogov

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

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

show more ...


12345678910>>...31