summaryrefslogtreecommitdiff
path: root/tests/run-test/test006.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'tests/run-test/test006.phpt')
-rw-r--r--tests/run-test/test006.phpt4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/run-test/test006.phpt b/tests/run-test/test006.phpt
index 0ab1092a72..4dca66a4f7 100644
--- a/tests/run-test/test006.phpt
+++ b/tests/run-test/test006.phpt
@@ -3,7 +3,7 @@ Error messages are shown
--FILE--
<?php
// If this test fails ask the developers of run-test.php
-ini_set("zend.assertions", -1);
+$error = 1 / 0;
?>
--EXPECTREGEX--
-.*enabled or disabled.*
+.*Division by zero.*