summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXinchen Hui <laruence@php.net>2014-12-25 06:21:48 -0500
committerXinchen Hui <laruence@php.net>2014-12-25 06:21:48 -0500
commit898cae2e636e77c0e8adef0d9eed35bca838d950 (patch)
tree7d041e4954eaa5afbda9ea4083e6ca4892160f0f
parent3d4babdc2b03515fa30e382125a7e79d10bafe7e (diff)
parent316f72ce28f345228cc76f7ce537d593d33df765 (diff)
downloadphp-git-898cae2e636e77c0e8adef0d9eed35bca838d950.tar.gz
Merge branch 'PHP-5.6'
-rw-r--r--ext/iconv/tests/iconv_basic_001.phpt2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/iconv/tests/iconv_basic_001.phpt b/ext/iconv/tests/iconv_basic_001.phpt
index 6fcb5dbe8a..079eb670e1 100644
--- a/ext/iconv/tests/iconv_basic_001.phpt
+++ b/ext/iconv/tests/iconv_basic_001.phpt
@@ -5,8 +5,10 @@ Rodrigo Prado de Jesus <royopa [at] gmail [dot] com>
--SKIPIF--
<?php extension_loaded('iconv') or die('skip iconv extension is not available'); ?>
<?php if(substr(PHP_OS, 0, 3) == 'WIN' ) {die('skip not for windows');} ?>
+<?php if(setlocale(LC_ALL, "en_US.utf8",) === false) { die('skip en_US.utf8 locales not available'); } ?>
--FILE--
<?php
+setlocale(LC_ALL, "en_US.utf8");
$in_charset = 'UTF-8';
$out_charset = 'ASCII//TRANSLIT';
$string_to_translate = 'Žluťoučký kůň\n';