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