mirror of
https://github.com/php/php-src.git
synced 2024-11-25 02:44:58 +08:00
22 lines
412 B
PHP
22 lines
412 B
PHP
--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";
|
|
?>
|
|
--EXPECTF--
|
|
bool(false)
|
|
string(5) "UTF-8"
|
|
Done
|
|
--CREDITS--
|
|
Florian Holzhauer fh-pt@fholzhauer.de
|
|
PHP Testfest Berlin 2009-05-09
|