Skip to content

Commit 497858a

Browse files
committed
Merge branch 'PHP-8.0'
* PHP-8.0: exit_status is no longer a true global
2 parents 057d2f2 + 1631b96 commit 497858a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sapi/cli/php_cli.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1085,7 +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;
1088+
EG(exit_status) = 1;
10891089
} else {
10901090
zend_print_zval(&ref, 0);
10911091
zend_write("\n", 1);

0 commit comments

Comments
 (0)