History log of /PHP-8.3/ext/reflection/php_reflection.c (Results 201 – 225 of 949)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: php-7.4.0beta2, php-7.1.31, php-7.2.21, php-7.3.8, php-7.4.0beta1
# c817b802 22-Jul-2019 Nikita Popov

Special-case rc=1 self-referential arrays in ReflectionReference

New fix for bug #78263. This is special-cased elsewhere in the engine,
so we need to mirror it here.


# 19588a8f 22-Jul-2019 Nikita Popov

Revert "Add ReflectionReference::getRefcount()"

This reverts commit 428cfdd1810b17f0064b7691276f0eb92dc963b6.


Revision tags: php-7.2.21RC1, php-7.3.8RC1
# 3121b717 11-Jul-2019 Nikita Popov

Deprecate Reflection export() methods

And remove the Reflector::export() interface method.


# 2f51764e 22-Jul-2019 Dmitry Stogov

Evaluate constant in class scope


# 42cac9d7 11-Jul-2019 Nikita Popov

Don't call Reflection::export() internally

export() methods were implemented in a roundabout way, where they
would call Reflection::export(), which would then call __toString().
Cut

Don't call Reflection::export() internally

export() methods were implemented in a roundabout way, where they
would call Reflection::export(), which would then call __toString().
Cut out the middleman by directly calling __toString().

show more ...


Revision tags: php-7.4.0alpha3
# 428cfdd1 08-Jul-2019 Nikita Popov

Add ReflectionReference::getRefcount()

And don't return null for rc=1 references. Leave it to the user
to decide whether or not they want to consider these as references
or not.

Add ReflectionReference::getRefcount()

And don't return null for rc=1 references. Leave it to the user
to decide whether or not they want to consider these as references
or not.

Fixes bug #78263.

show more ...


Revision tags: php-7.3.7, php-7.2.20, php-7.4.0alpha2, php-7.3.7RC3, php-7.3.7RC2, php-7.2.20RC2, php-7.4.0alpha1, php-7.3.7RC1, php-7.2.20RC1, php-7.2.19, php-7.3.6, php-7.1.30
# 61f78de4 26-May-2019 twosee

Constify some char* arguments or return values of ZEND_API

Closes GH-4247.


# 63171d88 12-Jun-2019 twosee

Add do...while(0) for RETURN_* and ZVAL_* APIs

Closes GH-4255.


# 457392fa 05-Jun-2019 Dmitry Stogov

Cheaper checks for exceptions thrown from __toString()


# b964298c 05-Jun-2019 Nikita Popov

Deprecate ReflectionType::__toString()

We weren't able to do this in 7.1 because the deprecation notice
may be converted to an exception and __toString() can't throw,
which means tha

Deprecate ReflectionType::__toString()

We weren't able to do this in 7.1 because the deprecation notice
may be converted to an exception and __toString() can't throw,
which means that it ultimately become a fatal error. This issue
is resolved now, so we can mark the method as deprecated.

show more ...


Revision tags: php-7.2.19RC1, php-7.3.6RC1, php-7.1.29, php-7.2.18, php-7.3.5, php-7.2.18RC1, php-7.3.5RC1, php-7.2.17, php-7.3.4, php-7.1.28, php-7.3.4RC1, php-7.2.17RC1, php-7.1.27, php-7.3.3, php-7.2.16
# a31f4642 26-Feb-2019 Nikita Popov

Allow exceptions in __toString()

RFC: https://wiki.php.net/rfc/tostring_exceptions

And convert some object to string conversion related recoverable
fatal errors into Error excep

Allow exceptions in __toString()

RFC: https://wiki.php.net/rfc/tostring_exceptions

And convert some object to string conversion related recoverable
fatal errors into Error exceptions.

Improve exception safety of internal code performing string
conversions.

show more ...


# 83804519 28-May-2019 Dmitry Stogov

Replace ZVAL_COPY() and ZVAL_COPY_VALUE() for IS_OBJECT by cheaper macros


# 3f19f511 14-May-2019 Nikita Popov

Add RETURN_EMPTY_ARRAY() / RETVAL_EMPTY_ARRAY()

The usual wrappers around ZVAL_EMPTY_ARRAY()...


# 35c80583 09-May-2019 Nikita Popov

Fixed bug #75186


# 54be4011 09-May-2019 Nikita Popov

Fixed bug #77951

Treat singleton references as non-references in ReflectionReference
and return null for them.


# e4e6820d 08-May-2019 Nikita Popov

Use fast zpp for ReflectionClass constructor

At this point zpp overhead makes up a significant part of this
function.


# ee0fc1b5 08-May-2019 Nikita Popov

Optimize $name/$class property population in reflection

Instead of going through write_property, directly assign to the
respective property slot.


# e9c0367f 15-Apr-2019 Nikita Popov

Fixed bug #77882


# da35fa2c 22-Mar-2019 Nikita Popov

Fixed bug #77772


# f4ded492 28-Feb-2019 Nikita Popov

Don't return inside _DO_THROW macro

Returning inside _DO_THROW() is kind of pointless if we are going
to comment most uses with "this is gonna return".


# 1ca9d818 27-Feb-2019 Joe Watkins

Fix #77673 ReflectionClass::getDefaultProperties returns spooky array


Revision tags: php-7.3.3RC1, php-7.2.16RC1
# 9249d820 18-Feb-2019 Tyson Andre

Fix typos in code comments [skip ci]


# 1a5cff33 14-Feb-2019 Nikita Popov

Remove bogus ctor checks in get_class_methods() + reflection

Contrary to the comments, these only hide constructors (old or new
style) if they a) are inherited b) come from a trait and c

Remove bogus ctor checks in get_class_methods() + reflection

Contrary to the comments, these only hide constructors (old or new
style) if they a) are inherited b) come from a trait and c) are
aliased -- which doesn't make any sense at all.

show more ...


# 43a7d950 14-Feb-2019 Dmitry Stogov

Fixed bug #77613 (method visibility change) (reverted ZEND_ACC_CTOR and ZEND_ACC_DTOR flags removal)


Revision tags: php-7.2.15, php-7.3.2, php-7.2.15RC1, php-7.3.2RC1, php-5.6.40, php-7.1.26, php-7.3.1, php-7.2.14, php-7.2.14RC1, php-7.3.1RC1, php-5.6.39, php-7.1.25, php-7.2.13, php-7.0.33, php-7.3.0, php-7.1.25RC1, php-7.2.13RC1, php-7.3.0RC6, php-7.1.24, php-7.2.12, php-7.3.0RC5, php-7.1.24RC1, php-7.2.12RC1, php-7.3.0RC4, php-7.1.23, php-7.2.11, php-7.3.0RC3, php-7.1.23RC1, php-7.2.11RC1, php-7.3.0RC2
# 6347f0b9 24-Sep-2018 Nikita Popov

Implement ReflectionReference

RFC: https://wiki.php.net/rfc/reference_reflection


12345678910>>...38