#
f61f122b |
| 12-Sep-2019 |
Nikita Popov |
Merge branch 'PHP-7.4'
|
#
4b9ebd83 |
| 11-Sep-2019 |
Nikita Popov |
Allow throwing exception while loading parent class This is a fix for symfony/symfony#32995. The behavior is: * Throwing exception when loading parent/interface is allowed
Allow throwing exception while loading parent class This is a fix for symfony/symfony#32995. The behavior is: * Throwing exception when loading parent/interface is allowed (and we will also throw one if the class is simply not found). * If this happens, the bucket key for the class is reset, so it's possibly to try registering the same class again. * However, if the class has already been used due to a variance obligation, the exception is upgraded to a fatal error, as we cannot safely unregister the class stub anymore.
show more ...
|
#
403396e4 |
| 11-Sep-2019 |
Nikita Popov |
Merge branch 'PHP-7.4'
|
#
270e5e3c |
| 11-Sep-2019 |
Nikita Popov |
Only allow "nearly linked" classes for parent/interface The requirements for parent/interface are difference than for the variance checks in type declarations. The latter can work on ful
Only allow "nearly linked" classes for parent/interface The requirements for parent/interface are difference than for the variance checks in type declarations. The latter can work on fully unlinked classes, but the former need inheritance to be essentially finished, only variance checks may still be outstanding. Adding a new flag for this because we have lots of space, but we could also represent these "inheritance states" more compactly in the future.
show more ...
|
Revision tags: php-7.2.23RC1, php-7.3.10RC1, php-7.4.0RC1 |
|
#
dce8d19f |
| 02-Sep-2019 |
Ivan Enderlin |
Mention that arg_info[-1] holds the return info I lost some time trying to know how to find the returned type. It's not that obvious it is stored in the _argument_ information array.
Mention that arg_info[-1] holds the return info I lost some time trying to know how to find the returned type. It's not that obvious it is stored in the _argument_ information array. For the sake of Internet, here is the full code checking that a function _has_ a returned type: ```c zend_function *function = /* e.g. fci_cache->function_handler */; if (!(function->op_array.fn_flags & ZEND_ACC_HAS_RETURN_TYPE)) { php_printf("no return type\n"); } else { php_printf("has a return type\n"); php_printf("return type = %s\n", zend_get_type_by_const(ZEND_TYPE_CODE(function->common.arg_info[-1].type))); } ```
show more ...
|
#
33e10fe1 |
| 02-Sep-2019 |
Dmitry Stogov |
Merge branch 'PHP-7.4' * PHP-7.4: Free two bits in fn_flags by merging ZEND_ACC_HEAP_RT_CACHE/ZEND_ACC_USER_ARG_INFO and ZEND_ACC_DONE_PASS_TWO/ZEND_ACC_ARENA_ALLOCATED that may be use
Merge branch 'PHP-7.4' * PHP-7.4: Free two bits in fn_flags by merging ZEND_ACC_HEAP_RT_CACHE/ZEND_ACC_USER_ARG_INFO and ZEND_ACC_DONE_PASS_TWO/ZEND_ACC_ARENA_ALLOCATED that may be used only for user/internal functions
show more ...
|
#
c739023a |
| 02-Sep-2019 |
Dmitry Stogov |
Free two bits in fn_flags by merging ZEND_ACC_HEAP_RT_CACHE/ZEND_ACC_USER_ARG_INFO and ZEND_ACC_DONE_PASS_TWO/ZEND_ACC_ARENA_ALLOCATED that may be used only for user/internal functions |
#
633c5886 |
| 02-Sep-2019 |
Dmitry Stogov |
Merge branch 'PHP-7.4' * PHP-7.4: Fixed information about unused flags
|
#
e6d3a218 |
| 02-Sep-2019 |
Dmitry Stogov |
Fixed information about unused flags |
Revision tags: php-7.1.32, php-7.2.22, php-7.3.9 |
|
#
4e4cc9b4 |
| 23-Aug-2019 |
Nikita Popov |
Merge branch 'PHP-7.4'
|
Revision tags: php-7.4.0beta4 |
|
#
d1157cbc |
| 16-Aug-2019 |
Nikita Popov |
Relax closure $this unbinding deprecation Only deprecate unbinding of $this from a closure if $this is syntactically used within the closure. This is desired to support Laravel'
Relax closure $this unbinding deprecation Only deprecate unbinding of $this from a closure if $this is syntactically used within the closure. This is desired to support Laravel's macro system, see laravel/framework#29482. This should still allow us to implement the performance improvements we're interested in for PHP 8, without breaking existing use-cases.
show more ...
|
Revision tags: php-7.2.22RC1, php-7.3.9RC1, php-7.4.0beta2, php-7.1.31, php-7.2.21, php-7.3.8, php-7.4.0beta1 |
|
#
97912023 |
| 19-Jul-2019 |
Dmitry Stogov |
Merge branch 'PHP-7.4' * PHP-7.4: Use run-time cache to avoid repeatable hash lookups in ZEND_DECLARE_CLASS_DELAYED
|
#
445d5134 |
| 19-Jul-2019 |
Dmitry Stogov |
Use run-time cache to avoid repeatable hash lookups in ZEND_DECLARE_CLASS_DELAYED |
#
eb766751 |
| 19-Jul-2019 |
Nikita Popov |
Merge branch 'PHP-7.4'
|
Revision tags: php-7.2.21RC1, php-7.3.8RC1, php-7.4.0alpha3, 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, 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 |
|
#
d574df63 |
| 13-Mar-2019 |
rjhdby |
Deprecate alternative array access syntax RFC: https://wiki.php.net/rfc/deprecate_curly_braces_array_access |
#
1b5b8175 |
| 05-Jul-2019 |
Dmitry Stogov |
Merge branch 'PHP-7.4' * PHP-7.4: Replace ZEND_ASSIGN_ADD (and others) by ZEND_ASSIGN_OP, ZEND_ASSIGN_DIM_OP, ZEND_ASSGIN_OBJ_OP and ZEND_ASSIGN_STATIC_PROP_OP
|
#
48ca5a1e |
| 05-Jul-2019 |
Dmitry Stogov |
Replace ZEND_ASSIGN_ADD (and others) by ZEND_ASSIGN_OP, ZEND_ASSIGN_DIM_OP, ZEND_ASSGIN_OBJ_OP and ZEND_ASSIGN_STATIC_PROP_OP |
#
6188a69b |
| 03-Jul-2019 |
Dmitry Stogov |
Merge branch 'PHP-7.4' * PHP-7.4: Optimization of INC/DEC helpers
|
#
56b8b165 |
| 03-Jul-2019 |
Dmitry Stogov |
Optimization of INC/DEC helpers |
#
aa2320b2 |
| 28-Jun-2019 |
Nikita Popov |
Merge branch 'PHP-7.4'
|
#
36983035 |
| 28-Jun-2019 |
Nikita Popov |
Fix arginfo leak in disable_functions Arginfo is allocated if types are used, we need to free it. |
#
ca22c456 |
| 25-Jun-2019 |
Dmitry Stogov |
Merge branch 'PHP-7.4' * PHP-7.4: Keep lowercased parent class name as second argument of DECLARE_CLASS to avoid extra work at run-time
|
#
759f4ecd |
| 25-Jun-2019 |
Dmitry Stogov |
Keep lowercased parent class name as second argument of DECLARE_CLASS to avoid extra work at run-time |
#
38909b75 |
| 21-Jun-2019 |
Nikita Popov |
Merge branch 'PHP-7.4'
|
#
a8477157 |
| 21-Jun-2019 |
Nikita Popov |
Make ZEND_SEND_* flags unsigned These may be shifted to the limit for the arg mask. |