From 6767ef05a54ca1afbc7d5fa679250d68ce90fa71 Mon Sep 17 00:00:00 2001 From: Xinchen Hui Date: Wed, 15 Feb 2017 13:51:45 +0800 Subject: [PATCH] Add a test for hard_timeout(bug #74093) --- Zend/tests/bug74093.phpt | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Zend/tests/bug74093.phpt diff --git a/Zend/tests/bug74093.phpt b/Zend/tests/bug74093.phpt new file mode 100644 index 0000000000..91b498107d --- /dev/null +++ b/Zend/tests/bug74093.phpt @@ -0,0 +1,18 @@ +--TEST-- +Bug #74093 (Maximum execution time of n+2 seconds exceed not written in error_log) +--SKIPIF-- + +--INI-- +memory_limit=1G +max_execution_time=1 +hard_timeout=1 +--FILE-- + +--EXPECTF-- +Fatal error: Maximum execution time of 1+1 seconds exceeded (terminated) in %sbug74093.php on line %d -- 2.40.0