From 61bbd8af7505f9e11cc4f0639d2ae8985a8d9fae Mon Sep 17 00:00:00 2001 From: Etienne Kneuss Date: Sun, 31 May 2009 21:32:42 +0000 Subject: [PATCH] MFH: Add test for the timeout inside shutdown function --- tests/lang/045.phpt | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 tests/lang/045.phpt diff --git a/tests/lang/045.phpt b/tests/lang/045.phpt new file mode 100644 index 0000000000..399fac7f60 --- /dev/null +++ b/tests/lang/045.phpt @@ -0,0 +1,23 @@ +--TEST-- +Timeout again inside register_shutdown_function +--FILE-- + 2) { + echo "Failed!"; + break; + } + } +} +plop(); +?> +===DONE=== +--EXPECTF-- +Fatal error: Maximum execution time of 1 second exceeded in %s on line %d + +Fatal error: Maximum execution time of 1 second exceeded in %s on line %d -- 2.40.0