summaryrefslogtreecommitdiff
path: root/sapi
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2021-02-24 21:31:03 +0100
committerNikita Popov <nikita.ppv@gmail.com>2021-02-24 21:31:03 +0100
commit4a8b93425dae191424410ed69f9ccc68faa5b118 (patch)
tree32cf7d9826d1e5e6695dec3ab6b9e92cf0e8db5b /sapi
parent5caf29a01e8498ecf3cfabceee8cf60a0fd39eb8 (diff)
parent44ef32ff2cc01d67fefb4e52c5bd29ed5ae3f858 (diff)
downloadphp-git-4a8b93425dae191424410ed69f9ccc68faa5b118.tar.gz
Merge branch 'PHP-8.0'
* PHP-8.0: Fix potential file collision in dom tests Fix bug #80757 (Exit code is 0 when could not open file) Update NEWS
Diffstat (limited to 'sapi')
-rw-r--r--sapi/phpdbg/phpdbg_prompt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sapi/phpdbg/phpdbg_prompt.c b/sapi/phpdbg/phpdbg_prompt.c
index e720b7ad62..13026978bf 100644
--- a/sapi/phpdbg/phpdbg_prompt.c
+++ b/sapi/phpdbg/phpdbg_prompt.c
@@ -764,6 +764,7 @@ PHPDBG_COMMAND(run) /* {{{ */
if (!PHPDBG_G(ops)) {
if (phpdbg_compile() == FAILURE) {
phpdbg_error("compile", "type=\"compilefailure\" context=\"%s\"", "Failed to compile %s, cannot run", PHPDBG_G(exec));
+ EG(exit_status) = FAILURE;
goto out;
}
}