mirror of
https://github.com/php/php-src.git
synced 2024-09-22 02:17:32 +00:00
19 lines
418 B
PHP
19 lines
418 B
PHP
--TEST--
|
|
Bug #74093 (Maximum execution time of n+2 seconds exceed not written in error_log)
|
|
--SKIPIF--
|
|
<?php
|
|
if (getenv("SKIP_SLOW_TESTS")) die("skip slow test");
|
|
?>
|
|
--INI--
|
|
memory_limit=1G
|
|
max_execution_time=1
|
|
hard_timeout=1
|
|
--FILE--
|
|
<?php
|
|
$a1 = range(1, 1000000);
|
|
$a2 = range(100000, 999999);
|
|
array_intersect($a1, $a2);
|
|
?>
|
|
--EXPECTF--
|
|
Fatal error: Maximum execution time of 1+1 seconds exceeded %s
|