From 7c198fbb63cb018d3887ed218e7d0b47441cd8d3 Mon Sep 17 00:00:00 2001 From: Etienne Kneuss Date: Sun, 31 May 2009 21:32:20 +0000 Subject: [PATCH] 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