From 7a7d8b9f9de6439a0e0a96f5ca016d8dcf7a2f52 Mon Sep 17 00:00:00 2001 From: Anatol Belski Date: Mon, 16 Mar 2015 19:12:55 +0100 Subject: [PATCH] test timeout within eval() --- tests/basic/timeout_variation_3.phpt | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 tests/basic/timeout_variation_3.phpt diff --git a/tests/basic/timeout_variation_3.phpt b/tests/basic/timeout_variation_3.phpt new file mode 100644 index 0000000000..0de46963d8 --- /dev/null +++ b/tests/basic/timeout_variation_3.phpt @@ -0,0 +1,20 @@ +--TEST-- +Timeout within eval +--FILE-- + +never reached here +--EXPECTF-- +call + +Fatal error: Maximum execution time of 3 seconds exceeded in %s on line %d -- 2.40.0