xref: /PHP-5.3/ext/iconv/tests/iconv001.phpt (revision 9490f1c8)
1--TEST--
2iconv() test 1
3--SKIPIF--
4<?php include('skipif.inc'); ?>
5--INI--
6error_reporting=2039
7--FILE--
8<?php
9/* include('test.inc'); */
10echo "iconv extension is available\n";
11$test = "���";
12var_dump("ISO-8859-1: $test");
13var_dump("UTF-8: ".iconv( "ISO-8859-1", "UTF-8", $test ) );
14?>
15--EXPECT--
16iconv extension is available
17string(15) "ISO-8859-1: ���"
18string(13) "UTF-8: æøå"
19