blob: e945bbb0efa4b202879b9d316ddf1480cbeade47 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
--TEST--
Timeout within shutdown function, variation
--FILE--
<?php
$t = 3;
set_time_limit($t);
function f()
{
echo "call";
sleep(4);
}
register_shutdown_function("f");
?>
shutdown happens after here
--EXPECTF--
shutdown happens after here
call
Fatal error: Maximum execution time of 3 seconds exceeded in %s on line %d
|