summaryrefslogtreecommitdiff
path: root/tests/run-test/test008.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'tests/run-test/test008.phpt')
-rw-r--r--tests/run-test/test008.phpt7
1 files changed, 2 insertions, 5 deletions
diff --git a/tests/run-test/test008.phpt b/tests/run-test/test008.phpt
index e37ddbb93d..7d95d8937b 100644
--- a/tests/run-test/test008.phpt
+++ b/tests/run-test/test008.phpt
@@ -16,18 +16,15 @@ var_dump(ini_get('display_errors'));
var_dump(ini_get('error_reporting'));
var_dump(ini_get('log_errors'));
var_dump(ini_get('track_errors'));
-ini_set('display_errors', 0);
+ini_set('display_errors', "0");
var_dump(ini_get('display_errors'));
-var_dump($php_errormsg);
$error = 1 / 0;
var_dump($php_errormsg);
?>
--EXPECTF--
-%s: %sivision by zero in %s on line %d
string(1) "1"
-string(4) "8191"
+string(5) "32767"
string(1) "0"
string(1) "1"
string(1) "0"
string(%d) "%sivision by zer%s"
-string(%d) "%sivision by zer%s"