History log of /PHP-7.4/ext/reflection/php_reflection.c (Results 126 – 150 of 759)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: php-7.1.10, php-7.2.0RC3, php-7.0.24
# c900764e 13-Sep-2017 Sammy Kaye Powers

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


Revision tags: php-7.2.0RC2, php-7.1.10RC1, php-7.0.24RC1, php-7.1.9, php-7.2.0RC1, php-7.0.23, php-7.1.9RC1, php-7.2.0beta3, php-7.0.23RC1, php-7.1.8, php-7.2.0beta2, php-7.0.22
# e36c04ef 27-Jul-2017 Xinchen Hui

Fixed bug #74949 (null pointer dereference in _function_string)


Revision tags: php-7.1.8RC1, php-7.2.0beta1, php-7.0.22RC1, php-5.6.31, php-7.0.21, php-7.1.7, php-7.2.0alpha3
# 04fb3f28 25-Jun-2017 Tom Van Looy

Remove superfluous semicolons


Revision tags: php-7.1.7RC1, php-7.0.21RC1, php-7.2.0alpha2
# fdfc5c1b 15-Jun-2017 Remi Collet

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

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

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

show more ...


Revision tags: php-7.1.6, php-7.2.0alpha1, php-7.0.20
# d1cfd87f 31-May-2017 Sara Golemon

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 us

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.

show more ...


# c1500f85 31-May-2017 Sara Golemon

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

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.

show more ...


# 9c5717d0 31-May-2017 Xinchen Hui

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


Revision tags: php-7.1.6RC1, php-7.0.20RC1, php-7.1.5, php-7.0.19, php-7.0.19RC1, php-7.1.5RC1
# d5c6fcc3 22-Apr-2017 Nikita Popov

Don't leak internal flags in reflection

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


Revision tags: php-7.1.4, php-7.0.18, php-7.1.4RC1, php-7.0.18RC1, php-7.1.3, php-7.0.17, php-7.1.3RC1, php-7.0.17RC1, php-7.1.2, php-7.0.16
# eb1373e5 12-Feb-2017 Nikita Popov

Revert "Fixed bug #74035"

This reverts commit 9ffc6ca62f53431a4b32b30cdda8180142f47cdb.


# ed4216c9 07-Feb-2017 Julien Pauli

ReflectionGenerator now sends ReflectionException as expected


# 9ffc6ca6 03-Feb-2017 andrewnester

Fixed bug #74035


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


12345678910>>...31