summaryrefslogtreecommitdiff
path: root/ext/iconv/tests/translit-utf8.phpt
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2002-10-28 17:15:21 +0000
committerMarcus Boerger <helly@php.net>2002-10-28 17:15:21 +0000
commit6829a7a5b1ce6e372204bdc9abdbca80f463bf94 (patch)
treeb68aa5e8d779093d4272b678ec1d6c6d354d8cd2 /ext/iconv/tests/translit-utf8.phpt
parenta78d5eb8873fc384d933aad4e79a05ccde0f89a2 (diff)
downloadphp-git-6829a7a5b1ce6e372204bdc9abdbca80f463bf94.tar.gz
fix this tests
-they did not dl load module in test.... -disable E_NOTICE
Diffstat (limited to 'ext/iconv/tests/translit-utf8.phpt')
-rw-r--r--ext/iconv/tests/translit-utf8.phpt11
1 files changed, 10 insertions, 1 deletions
diff --git a/ext/iconv/tests/translit-utf8.phpt b/ext/iconv/tests/translit-utf8.phpt
index bd9903413e..fd6452bf96 100644
--- a/ext/iconv/tests/translit-utf8.phpt
+++ b/ext/iconv/tests/translit-utf8.phpt
@@ -5,8 +5,17 @@ Translit UTF-8 quotes
include('skipif.inc');
( ICONV_IMPL != "libiconv" ) and die("skip ICONV_IMPL != \"libiconv\"");
?>
+--INI--
+error_reporting=2047
--FILE--
-<?php include('translit-utf8.inc'); ?>
+<?php // vim600: syn=php
+include('test.inc');
+//error_reporting(E_ALL);
+$utf = implode('', file('ext/iconv/tests/Quotes.UTF-8'));
+
+print(iconv("UTF-8", "ISO-8859-1//TRANSLIT", $utf));
+print(iconv("UTF-8", "ASCII//TRANSLIT", $utf));
+?>
--EXPECT--
"Hello"
`Hello´