#
272b887b |
| 16-Apr-2020 |
Pedro Magalhães |
Ignore inheritance rules on private methods Closes GH-5401
|
#
1c967df5 |
| 11-Jul-2020 |
Ilija Tovilo |
Fix free of uninitialized memory in MATCH_ERROR As suggested by Tyson Andre: https://github.com/php/php-src/pull/5371#issuecomment-657081464 Also fix line number of unhandled ma
Fix free of uninitialized memory in MATCH_ERROR As suggested by Tyson Andre: https://github.com/php/php-src/pull/5371#issuecomment-657081464 Also fix line number of unhandled match error Closes GH-5841.
show more ...
|
#
d30cd7d7 |
| 26-May-2020 |
Máté Kocsis |
Review the usage of apostrophes in error messages Closes GH-5590
|
#
5fc70243 |
| 10-Jul-2020 |
Nikita Popov |
Add missing addref for MATCH_ERROR operand
|
#
9fa1d133 |
| 09-Apr-2020 |
Ilija Tovilo |
Implement match expression RFC: https://wiki.php.net/rfc/match_expression_v2 Closes GH-5371.
|
#
2af1d36b |
| 08-Jul-2020 |
Nikita Popov |
Skip special function optimization for redeclared disabled functions As pointed out on GH-5817.
|
#
971e5c51 |
| 07-Jul-2020 |
Nikita Popov |
Fixed bug #79783 Make sure we don't drop the by-reference check when passing the result of a VM builtin function.
|
#
4a0d6901 |
| 06-Jul-2020 |
moliata <7127204+moliata@users.noreply.github.com> |
refactor: class constants parsing As part of my work on typed class constants, I wanted to make a separate pull request for unrelated changes. These include: * Moving
refactor: class constants parsing As part of my work on typed class constants, I wanted to make a separate pull request for unrelated changes. These include: * Moving from ast->child[0]->attr to ast->attr * Making zend_ast_export_ex() export class constants' visibility * Extracting an additional zend_compile_class_const_group() function Closes GH-5812.
show more ...
|
#
6a195cac |
| 02-Jul-2020 |
Nikita Popov |
Treat attribute argument lists like normal argument lists Allow trailing comma. Syntactically allow unpacking, but forbid it during compilation. The trailing comma test-case is
Treat attribute argument lists like normal argument lists Allow trailing comma. Syntactically allow unpacking, but forbid it during compilation. The trailing comma test-case is adopted from GH-5796.
show more ...
|
#
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 ...
|
#
1314ccbf |
| 26-Jun-2020 |
Nikita Popov |
Cache __unserialize() instead of unserialize() We should use these cache slots for the new object serialization mechanism rather than the old one.
|
#
c5caa051 |
| 26-Jun-2020 |
Nikita Popov |
Fixed bug #79740
|
#
48e16a9d |
| 18-Jun-2020 |
moliata |
Use ZEND_TOSTRING_FUNC_NAME Closes GH-5736.
|
#
45d1c38d |
| 17-Jun-2020 |
moliata |
Use zend_is_constructor()
|
#
92c4b065 |
| 16-Jun-2020 |
Christoph M. Becker |
Use ZEND_UNREACHABLE() instead of ZEND_ASSERT(0) Instead of marking unreachable code with `ZEND_ASSERT(0)`, we introduce `ZEND_UNREACHABLE()`, so that MSVC which does not consider `asser
Use ZEND_UNREACHABLE() instead of ZEND_ASSERT(0) Instead of marking unreachable code with `ZEND_ASSERT(0)`, we introduce `ZEND_UNREACHABLE()`, so that MSVC which does not consider `assert(0)` to mark unreachable code does no longer trigger C4715[1] warnings in debug builds. This may be useful for other compilers as well. [1] <https://docs.microsoft.com/de-de/cpp/error-messages/compiler-warnings/compiler-warning-level-1-c4715?view=vs-2019>
show more ...
|
#
83a77015 |
| 08-Jun-2020 |
twosee |
Add helper APIs for maybe-interned string creation Add ZVAL_CHAR/RETVAL_CHAR/RETURN_CHAR as a shortcut for using ZVAL_INTERNED_STRING and ZSTR_CHAR. Add zend_string_init_fast()
Add helper APIs for maybe-interned string creation Add ZVAL_CHAR/RETVAL_CHAR/RETURN_CHAR as a shortcut for using ZVAL_INTERNED_STRING and ZSTR_CHAR. Add zend_string_init_fast() as a helper for the empty string / one char interned string / zend_string_init() pattern. Also add corresponding ZVAL_STRINGL_FAST etc macros. Closes GH-5684.
show more ...
|
#
b03cafd1 |
| 05-Jun-2020 |
Nikita Popov |
Fix bug #77966: Cannot alias a method named "namespace" This is a bit tricky: In this cases we have "namespace as", which means that we will only recognize "namespace" as an identifier w
Fix bug #77966: Cannot alias a method named "namespace" This is a bit tricky: In this cases we have "namespace as", which means that we will only recognize "namespace" as an identifier when the lookahead token is already at the "as". This means that zend_lex_tstring picks up the wrong identifier. We solve this by actually assigning the identifier as the semantic value on the parser stack -- as in almost all cases we will not actually need the identifier, this is just an (offset, size) reference, not a copy of the string. Additionally, we need to teach the lexer feedback mechanism used by tokenizer TOKEN_PARSE mode to apply feedback to something other than the very last token. To that purpose we pass through the token text and check the tokens in reverse order to find the right one. Closes GH-5668.
show more ...
|
#
88355dd3 |
| 07-Jun-2020 |
twosee |
Constify char * arguments of APIs Closes GH-5676.
|
#
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>
|
#
dd6e54b7 |
| 29-May-2020 |
Máté Kocsis |
Fix #79652 Ensure that the mixed type is displayed instead of the union of all types Closes GH-56430
|
#
baa28588 |
| 26-May-2020 |
Nikita Popov |
Fix variable type This is no longer a boolean.
|
#
9b332725 |
| 25-May-2020 |
Tyson Andre |
Allow generators to have a real return type of `mixed` or `object` Fixes an edge case overlooked in https://github.com/php/php-src/pull/5313 Generators are objects, so `object`
Allow generators to have a real return type of `mixed` or `object` Fixes an edge case overlooked in https://github.com/php/php-src/pull/5313 Generators are objects, so `object` should have also been allowed in addition to `iterable` and `Traversable` Closes GH-5626
show more ...
|
#
23ee4d4b |
| 03-Apr-2020 |
Max Semenik |
Support catching exceptions without capturing them to variables RFC: https://wiki.php.net/rfc/non-capturing_catches Closes GH-5345.
|