mirror of
https://github.com/php/php-src.git
synced 2024-10-05 00:36:17 +00:00
4be7f4aecd
- com_dotnet gets a .cvsignore - Ulf will take care of mysql extensions, rest complete
20 lines
427 B
PHP
20 lines
427 B
PHP
--TEST--
|
|
iconv() test 1
|
|
--SKIPIF--
|
|
<?php include('skipif.inc'); ?>
|
|
--INI--
|
|
unicode.script_encoding=ISO-8859-1
|
|
unicode.output_encoding=ISO-8859-1
|
|
error_reporting=2039
|
|
--FILE--
|
|
<?php
|
|
echo "iconv extension is available\n";
|
|
$test = "æøå";
|
|
var_dump("ISO-8859-1: $test");
|
|
var_dump("UTF-8: ".iconv( "ISO-8859-1", "UTF-8", $test ) );
|
|
?>
|
|
--EXPECT--
|
|
iconv extension is available
|
|
unicode(15) "ISO-8859-1: æøå"
|
|
unicode(13) "UTF-8: æøå"
|