#
988c3f96 |
| 25-Feb-2021 |
Felipe Pena |
Fix memleak on ReflectionFunction and ReflectionGenerator classes when calling __construct after instantiation
|
#
706241f8 |
| 24-Nov-2020 |
Nikita Popov |
Fix usage of casted string in ReflectionParameter ctor Fixes oss-fuzz #27755.
|
#
1f6f9c70 |
| 31-Aug-2020 |
Nikita Popov |
Fix leak on consteval exception in ReflectionClass::__toString()
|
#
8bb2f406 |
| 31-Aug-2020 |
Nikita Popov |
Check update constant failure in ReflectionClassConstant::__toString()
|
#
ee7c7a8e |
| 15-Jul-2020 |
Christopher Broadbent |
Fixed bug #79820 Similar to what is done for ReflectionType itself, copy the type name stored inside ReflectionProperty. Also make sure the type field is always initialized for dynam
Fixed bug #79820 Similar to what is done for ReflectionType itself, copy the type name stored inside ReflectionProperty. Also make sure the type field is always initialized for dynamic properties. This is a non-issue in PHP 8, because we store a pointer to the property_info there, rather than a copy.
show more ...
|
#
26aefb75 |
| 15-Apr-2020 |
Christoph M. Becker |
Fix #69804: ::getStaticPropertyValue() throws on protected props `ReflectionClass` allows reading of the values of private and protected constants, and also to get private and protected
Fix #69804: ::getStaticPropertyValue() throws on protected props `ReflectionClass` allows reading of the values of private and protected constants, and also to get private and protected static methods. Therefore getting the values of private and protected static properties is also permissible, especially since `::getStaticProperties()` already allows to do so. We also allow ::setStaticPropertyValue() to modify private and protected properties, because otherwise this method is useless, as modifying public properties can be done directly.
show more ...
|
#
ef2130db |
| 24-Jun-2020 |
Christoph M. Becker |
Fix #79487: ::getStaticProperties() ignores property modifications When retrieving the static class properties via reflection, we have to cater to possible modifications.
|
#
f3cccfde |
| 23-Jun-2020 |
Christoph M. Becker |
Revert "Fix #79487: ::getStaticProperties() ignores property modifications" This reverts commit a895bb6885fbceea3e8375816969d5510d8d082e.
|
#
a895bb68 |
| 23-Jun-2020 |
Christoph M. Becker |
Fix #79487: ::getStaticProperties() ignores property modifications When retrieving the static class properties via reflection, we have to cater to possible modifications.
|
#
58b17906 |
| 03-Feb-2020 |
Nikita Popov |
Apply tidy formatting Mostly reindent PHP scripts to spaces.
|
#
07bda97e |
| 17-Jan-2020 |
Nikita Popov |
Fixed bug #79115
|
#
42a2fb84 |
| 09-Dec-2019 |
Dmitry Stogov |
Fixed bug #78895 (Reflection detects abstract non-static class as abstract static. IS_IMPLICIT_ABSTRACT is not longer used)
|
Revision tags: php-7.3.13RC1, php-7.2.26RC1, php-7.4.0, php-7.2.25, php-7.3.12, php-7.4.0RC6, php-7.3.12RC1, php-7.2.25RC1 |
|
#
c9abfaec |
| 04-Nov-2019 |
Nikita Popov |
Fixed bug #78774 The string held by the zend_type may be released if the property type gets resolved to a CE. I initially wanted to fix this by storing a zend_type* instead (so the p
Fixed bug #78774 The string held by the zend_type may be released if the property type gets resolved to a CE. I initially wanted to fix this by storing a zend_type* instead (so the property type resolution propagates to the ReflectionType), but decided against this in light of upcoming union types support, where we also need to represent parts of the union, and will not have a single zend_type* we can reference.
show more ...
|
Revision tags: php-7.4.0RC5, php-7.1.33, php-7.2.24, php-7.3.11 |
|
#
bea2ff88 |
| 19-Oct-2019 |
Fabien Villepinte |
Fix bug #78697: inaccurate error message
|
Revision tags: php-7.4.0RC4, php-7.3.11RC1, php-7.2.24RC1 |
|
#
f085bddb |
| 07-Oct-2019 |
Nikita Popov |
Fix number of required arguments in arginfo * pack() only requires one argument * stream_context_set_option() only requires two arguments * ReflectionMethod::getClosure() accepts no
Fix number of required arguments in arginfo * pack() only requires one argument * stream_context_set_option() only requires two arguments * ReflectionMethod::getClosure() accepts no args for static methods * DOMDocument::createProcessingInstruction() only requires one arg * DOMImplementation::createDocument() only requires two arguments * DOMDocument::importNode() only requires one arg * mysql_get_client_version() doesn't accept any args, despite what the docs say...
show more ...
|
Revision tags: php-7.4.0RC3, php-7.2.23, php-7.3.10, php-7.4.0RC2, php-7.2.23RC1, php-7.3.10RC1, php-7.4.0RC1, php-7.1.32, php-7.2.22, php-7.3.9, php-7.4.0beta4, php-7.2.22RC1, php-7.3.9RC1 |
|
#
d891b5f4 |
| 13-Aug-2019 |
Nikita Popov |
Fixed bug #78410
|
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 |
|
#
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.19, php-7.3.6, php-7.1.30, 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 ...
|