File:
[ELWIX - Embedded LightWeight unIX -] /
embedaddon /
php /
ext /
iconv /
tests /
iconv001.phpt
Revision
1.1.1.1 (vendor branch):
download - view:
text,
annotated -
select for diffs -
revision graph
Tue Feb 21 23:47:56 2012 UTC (12 years, 10 months ago) by
misho
Branches:
php,
MAIN
CVS tags:
v5_4_3elwix,
v5_4_29p0,
v5_4_29,
v5_4_20p0,
v5_4_20,
v5_4_17p0,
v5_4_17,
v5_3_10,
HEAD
php
--TEST--
iconv() test 1
--SKIPIF--
<?php include('skipif.inc'); ?>
--INI--
error_reporting=2039
--FILE--
<?php
/* include('test.inc'); */
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
string(15) "ISO-8859-1: æøå"
string(13) "UTF-8: æøå"
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>