#
5f25618f |
| 30-Jul-2020 |
Máté Kocsis |
Add missing RETURN_THROWS() |
#
0d330e1a |
| 28-Jul-2020 |
Máté Kocsis |
Add a few missing parameter types in stubs Related to GH-5627 |
#
8664ff7a |
| 24-Jul-2020 |
Máté Kocsis |
Cleanup argument handling in ext/reflection Closes GH-5850 |
#
b3ea6ce7 |
| 21-Jul-2020 |
Nikita Popov |
Make ReflectionGenerator final This class is not safe against malicious extension / instantiation. |
#
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 ...
|
#
d30cd7d7 |
| 26-May-2020 |
Máté Kocsis |
Review the usage of apostrophes in error messages Closes GH-5590 |
#
302933da |
| 07-Jul-2020 |
Nikita Popov |
Remove no_separation flag |
#
2b5de6f8 |
| 01-Jul-2020 |
Max Semenik |
Remove proto comments from C files Closes GH-5758 |
#
344c0774 |
| 03-Jul-2020 |
Nikita Popov |
Use zend_string_equals API in a couple places |
#
c2b23d8c |
| 30-Jun-2020 |
Nikita Popov |
Fix leak in isDefaultValueAvailable() Exposed in Symfony due to exit changes. |
#
053ef28b |
| 28-Jun-2020 |
Martin Schröder |
Implement Attribute Amendments. RFC: https://wiki.php.net/rfc/attribute_amendments Support for attribute grouping is left out, because the short attribute syntax RFC will likely
Implement Attribute Amendments. RFC: https://wiki.php.net/rfc/attribute_amendments Support for attribute grouping is left out, because the short attribute syntax RFC will likely make it obsolete. Closes GH-5751.
show more ...
|
#
cbce0cba |
| 24-Jun-2020 |
Christoph M. Becker |
Merge branch 'PHP-7.4' * PHP-7.4: Fix #69804: ::getStaticPropertyValue() throws on protected props
|
#
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 ...
|
#
1dfeb70e |
| 24-Jun-2020 |
Christoph M. Becker |
Merge branch 'PHP-7.4' * PHP-7.4: Fix #79487: ::getStaticProperties() ignores property modifications
|
#
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. |
#
cf70026e |
| 23-Jun-2020 |
Christoph M. Becker |
Merge branch 'PHP-7.4' * PHP-7.4: Revert "Fix #79487: ::getStaticProperties() ignores property modifications"
|
#
f3cccfde |
| 23-Jun-2020 |
Christoph M. Becker |
Revert "Fix #79487: ::getStaticProperties() ignores property modifications" This reverts commit a895bb6885fbceea3e8375816969d5510d8d082e. |
#
f1d0eadc |
| 23-Jun-2020 |
Christoph M. Becker |
Merge branch 'PHP-7.4' * PHP-7.4: Fix #79487: ::getStaticProperties() ignores property modifications
|
#
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. |
#
15846ff1 |
| 17-Jun-2020 |
Nikita Popov |
Add ZVAL_OBJ_COPY macro For the common ZVAL_OBJ + GC_ADDREF pattern. This mirrors the existing ZVAL_STR_COPY API. |
#
257dbb04 |
| 08-Jun-2020 |
Nikita Popov |
Add zend_call_known_function() API family This adds the following APIs: void zend_call_known_function( zend_function *fn, zend_object *object, zend_class_entry *called_scope
Add zend_call_known_function() API family This adds the following APIs: void zend_call_known_function( zend_function *fn, zend_object *object, zend_class_entry *called_scope, zval *retval_ptr, int param_count, zval *params); void zend_call_known_instance_method( zend_function *fn, zend_object *object, zval *retval_ptr, int param_count, zval *params); void zend_call_known_instance_method_with_0_params( zend_function *fn, zend_object *object, zval *retval_ptr); void zend_call_known_instance_method_with_1_params( zend_function *fn, zend_object *object, zval *retval_ptr, zval *param); void zend_call_known_instance_method_with_2_params( zend_function *fn, zend_object *object, zval *retval_ptr, zval *param1, zval *param2); These are used to perform a call if you already have the zend_function you want to call. zend_call_known_function() is the base API, the rest are just really thin wrappers around it for the common case of instance method calls. Closes GH-5692.
show more ...
|
#
7439941d |
| 30-May-2020 |
Gabriel Caruso |
Add $filter parameter for ReflectionClass::(getConstants|getReflectionConstants) This solves [#79628](https://bugs.php.net/79628). Similar to `ReflectionClass::getMethods()` and `Re
Add $filter parameter for ReflectionClass::(getConstants|getReflectionConstants) This solves [#79628](https://bugs.php.net/79628). Similar to `ReflectionClass::getMethods()` and `ReflectionClass::getProperties()`, this new `$filter` argument allows the filtering of constants defined in a class by their visibility. For that, we create three new constants for `ReflectionClassConstant`: * `IS_PUBLIC` * `IS_PROTECTED` * `IS_PRIVATE` Closes GH-5649.
show more ...
|
#
7d6a0ba8 |
| 07-Jun-2020 |
twosee |
Fix expression warnings and break warnings Close GH-5675. |
Revision tags: php-7.4.5RC1, php-7.3.17RC1 |
|
#
064b4644 |
| 24-Mar-2020 |
Nikita Popov |
Implement "Constructor Promotion" RFC RFC: https://wiki.php.net/rfc/constructor_promotion Closes GH-5291. |
#
a7908c2d |
| 24-May-2020 |
Benjamin Eberlei |
Add Attributes Co-authored-by: Martin Schröder <m.schroeder2007@gmail.com> |