1--TEST-- 2Bug #74093 (Maximum execution time of n+2 seconds exceed not written in error_log) 3--SKIPIF-- 4<?php 5if (getenv("SKIP_SLOW_TESTS")) die("skip slow test"); 6if (PHP_ZTS) die("skip only for no-zts build"); 7if (substr(PHP_OS, 0, 3) == 'WIN') die("skip not for Windows"); 8?> 9--INI-- 10memory_limit=1G 11max_execution_time=1 12hard_timeout=1 13--FILE-- 14<?php 15$a1 = range(1, 2000000); 16$a2 = range(100000, 2999999); 17array_intersect($a1, $a2); 18?> 19--EXPECTF-- 20Fatal error: Maximum execution time of 1+1 seconds exceeded %s 21