summaryrefslogtreecommitdiff
path: root/sapi
diff options
context:
space:
mode:
authorRasmus Lerdorf <rasmus@php.net>2012-05-24 00:37:13 (GMT)
committerRasmus Lerdorf <rasmus@php.net>2012-05-24 00:38:23 (GMT)
commit523fd2c244ccc5c89d5bef2c3719f17782d8b6fa (patch)
tree5e38f8b28e4027796706d9a4b333d5b6c4ccdb56 /sapi
parentacd711685a592c52be200e248154283c6c49c9f8 (diff)
downloadphp-523fd2c244ccc5c89d5bef2c3719f17782d8b6fa.tar.gz
Fix broken apache_request_headers test
This test depends on the default_charset setting, so set it to UTF-8 for consistent output
Diffstat (limited to 'sapi')
-rw-r--r--sapi/cgi/tests/apache_request_headers.phpt4
1 files changed, 3 insertions, 1 deletions
diff --git a/sapi/cgi/tests/apache_request_headers.phpt b/sapi/cgi/tests/apache_request_headers.phpt
index 2c82d57..3dc3580 100644
--- a/sapi/cgi/tests/apache_request_headers.phpt
+++ b/sapi/cgi/tests/apache_request_headers.phpt
@@ -1,5 +1,7 @@
--TEST--
apache_request_headers() stack overflow.
+--INI--
+default_charset="UTF-8"
--SKIPIF--
<?php
include "skipif.inc";
@@ -29,7 +31,7 @@ echo "Done\n";
?>
--EXPECTF--
X-Powered-By: PHP/%s
-Content-type: text/html
+Content-type: text/html; charset=UTF-8
Array
(