blob: 6d0048026da062721bfb13715c89c4bd415b4a83 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
--TEST--
test if bind_textdomain_codeset() returns correct value
--SKIPIF--
<?php
if (!extension_loaded("gettext")) {
die("skip");
}
?>
--FILE--
<?php
var_dump(bind_textdomain_codeset(false,false));
var_dump(bind_textdomain_codeset('messages', "UTF-8"));
echo "Done\n";
?>
--EXPECT--
bool(false)
string(5) "UTF-8"
Done
--CREDITS--
Florian Holzhauer fh-pt@fholzhauer.de
PHP Testfest Berlin 2009-05-09
|