summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/func/005a.phpt7
1 files changed, 3 insertions, 4 deletions
diff --git a/tests/func/005a.phpt b/tests/func/005a.phpt
index a7ed5dbfdd..cf1e571377 100644
--- a/tests/func/005a.phpt
+++ b/tests/func/005a.phpt
@@ -7,8 +7,6 @@ if (getenv("SKIP_SLOW_TESTS")) die("skip slow test");
--FILE--
<?php
-ini_set('display_errors', 0);
-
echo "Start\n";
function boo()
@@ -18,7 +16,6 @@ function boo()
register_shutdown_function("boo");
-/* not necessary, just to show the error sooner */
set_time_limit(1);
/* infinite loop to simulate long processing */
@@ -27,6 +24,8 @@ for (;;) {}
echo "End\n";
?>
---EXPECT--
+--EXPECTF--
Start
+
+Fatal error: Maximum execution time of 1 second exceeded in %s on line %d
Shutdown