xref: /PHP-8.0/ext/iconv/tests/iconv001.phpt (revision 787dfd09)
1--TEST--
2iconv() test 1
3--SKIPIF--
4<?php include('skipif.inc'); ?>
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