diff options
| author | Nikita Popov <nikita.ppv@gmail.com> | 2019-09-26 10:25:40 +0200 |
|---|---|---|
| committer | Nikita Popov <nikita.ppv@gmail.com> | 2019-09-26 10:25:40 +0200 |
| commit | 99c67804d5a68ea374085e3f0ce21b85047c58eb (patch) | |
| tree | de4cacb8a18ef0b939618231f0269793a718c8a4 /Zend/zend_ast.c | |
| parent | 915fe2fdc6bd678c7bba33824622ae613f424329 (diff) | |
| parent | 8a9df8859747abaf70e4465d066adbe1f97d1fdb (diff) | |
| download | php-git-99c67804d5a68ea374085e3f0ce21b85047c58eb.tar.gz | |
Merge branch 'PHP-7.2' into PHP-7.3
Diffstat (limited to 'Zend/zend_ast.c')
| -rw-r--r-- | Zend/zend_ast.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_ast.c b/Zend/zend_ast.c index 1b85d718ae..876200bee8 100644 --- a/Zend/zend_ast.c +++ b/Zend/zend_ast.c @@ -1158,7 +1158,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 { |
