History log of /PHP-7.3/ext/reflection/php_reflection.c (Results 76 – 100 of 698)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: php-7.0.16RC1, php-7.1.2RC1, php-5.6.30
# a22f1817 17-Jan-2017 Thomas Punt

Fix ce comparison


Revision tags: php-7.0.15
# 141d1ba9 13-Jan-2017 Dmitry Stogov

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


# a1145c0c 12-Jan-2017 Nikita Popov

Fix memory error in reflection export

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


Revision tags: php-5.6.30RC1, php-7.1.1RC1, php-7.0.15RC1
# dac6c639 04-Jan-2017 Sammy Kaye Powers

Update copyright headers to 2017


# 478f119a 04-Jan-2017 Sammy Kaye Powers

Update copyright headers to 2017


# 9e29f841 02-Jan-2017 Sammy Kaye Powers

Update copyright headers to 2017


# f3f594a4 18-Dec-2016 Nikita Popov

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* fr

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.

show more ...


# e52d2b88 26-Dec-2016 Barbu Paul - Gheorghe

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 th

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.

show more ...


# 509f26c4 18-Dec-2016 Nikita Popov

Drop some dead code in ext/reflection


# c1af9f28 18-Dec-2016 Nikita Popov

Fix bug #46103


Revision tags: php-7.1.1, php-5.6.29, php-7.0.14, php-7.1.0, php-5.6.29RC1, php-7.0.14RC1, php-7.1.0RC6, php-5.6.28, php-7.0.13
# bdc1ba3e 01-Nov-2016 Dmitry Stogov

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


Revision tags: php-5.6.28RC1, php-7.1.0RC5, php-7.0.13RC1, php-7.1.0RC4, php-5.6.27, php-7.0.12
# 02ba9d71 30-Sep-2016 Nikita Popov

Unwrap reference returns in cufa etc


Revision tags: php-7.1.0RC3, php-5.6.27RC1
# f70fb051 27-Sep-2016 Nikita Popov

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


Revision tags: php-7.0.12RC1
# bf907b99 21-Sep-2016 Nikita Popov

Revert ReflectionType::__toString() behavior + deprecate


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


12345678910>>...28