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:48:01 (GMT)
commit8208462fc1ffcc575aa631ffb4cda22e2247521a (patch)
tree3f406460a55ea6c229a66cfce13a86e1d043a342 /sapi
parentca515e807319cafb5ad5c7384422583fb633aa57 (diff)
downloadphp-8208462fc1ffcc575aa631ffb4cda22e2247521a.tar.gz
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
(