1
0
mirror of https://github.com/php/php-src.git synced 2026-04-27 10:16:41 +02:00

Merge branch 'PHP-7.3' into PHP-7.4

This commit is contained in:
Nikita Popov
2019-09-26 10:25:55 +02:00
2 changed files with 5 additions and 1 deletions
+4
View File
@@ -140,6 +140,7 @@ assert(0 && ($a = function () {
if ($a) {
} elseif ($b) {
}
if ($a); else;
}));
?>
@@ -292,4 +293,7 @@ Warning: assert(): assert(0 && ($a = function () {
if ($a) {
} elseif ($b) {
}
if ($a) {
} else {
}
})) failed in %sexpect_015.php on line %d
+1 -1
View File
@@ -1224,7 +1224,7 @@ tail_call:
} else {
zend_ast_export_indent(str, indent);
smart_str_appends(str, "} else ");
if (ast->child[1]->kind == ZEND_AST_IF) {
if (ast->child[1] && ast->child[1]->kind == ZEND_AST_IF) {
list = (zend_ast_list*)ast->child[1];
goto tail_call;
} else {