From bbad29b9c128c41508f26064d2cbf425b8984522 Mon Sep 17 00:00:00 2001 From: Niels Dossche <7771979+nielsdos@users.noreply.github.com> Date: Sun, 18 Dec 2022 14:16:01 +0100 Subject: [PATCH] Add a regression test for auto_globals_jit=0 with preloading on --- .../tests/preloading_no_auto_globals_jit.inc | 6 ++++++ .../tests/preloading_no_auto_globals_jit.phpt | 20 +++++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 ext/opcache/tests/preloading_no_auto_globals_jit.inc create mode 100644 ext/opcache/tests/preloading_no_auto_globals_jit.phpt diff --git a/ext/opcache/tests/preloading_no_auto_globals_jit.inc b/ext/opcache/tests/preloading_no_auto_globals_jit.inc new file mode 100644 index 00000000000..ad80df7733d --- /dev/null +++ b/ext/opcache/tests/preloading_no_auto_globals_jit.inc @@ -0,0 +1,6 @@ + +--FILE-- +count_global_server()); +?> +--EXPECTF-- +int(%d)