Skip to content

Commit 057d2f2

Browse files
committed
Merge branch 'PHP-8.0'
* PHP-8.0: Fix #73226: --r[fcez] always return zero exit code
2 parents 5664ae8 + 0c0ecf0 commit 057d2f2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sapi/cli/php_cli.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1085,6 +1085,7 @@ static int do_cli(int argc, char **argv) /* {{{ */
10851085
zend_printf("Exception: %s\n", Z_STRVAL_P(msg));
10861086
zend_object_release(EG(exception));
10871087
EG(exception) = NULL;
1088+
exit_status = 1;
10881089
} else {
10891090
zend_print_zval(&ref, 0);
10901091
zend_write("\n", 1);

0 commit comments

Comments
 (0)