We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d78b972 commit a24b789Copy full SHA for a24b789
tests/func/005a.phpt
@@ -7,8 +7,6 @@ if (getenv("SKIP_SLOW_TESTS")) die("skip slow test");
7
--FILE--
8
<?php
9
10
-ini_set('display_errors', 0);
11
-
12
echo "Start\n";
13
14
function boo()
@@ -18,7 +16,6 @@ function boo()
18
16
19
17
register_shutdown_function("boo");
20
21
-/* not necessary, just to show the error sooner */
22
set_time_limit(1);
23
24
/* infinite loop to simulate long processing */
@@ -27,6 +24,8 @@ for (;;) {}
27
echo "End\n";
28
25
29
26
?>
30
---EXPECT--
+--EXPECTF--
31
Start
+
+Fatal error: Maximum execution time of 1 second exceeded in %s on line %d
32
Shutdown
0 commit comments