From 7c3e487289ec41e560cf7a77e36eb43da2234f33 Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Mon, 10 Aug 2020 12:39:19 +0200 Subject: Fixed bug #65275 Make EG(exit_status) the single source of truth for the exit status, instead of having two variables that we cannot really keep synchronized. --- sapi/cli/tests/bug65275.inc | 7 +++++++ sapi/cli/tests/bug65275.phpt | 12 ++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 sapi/cli/tests/bug65275.inc create mode 100644 sapi/cli/tests/bug65275.phpt (limited to 'sapi/cli/tests') diff --git a/sapi/cli/tests/bug65275.inc b/sapi/cli/tests/bug65275.inc new file mode 100644 index 0000000000..6b8a2ad948 --- /dev/null +++ b/sapi/cli/tests/bug65275.inc @@ -0,0 +1,7 @@ + +--EXPECT-- +int(111) -- cgit v1.2.1