mirror of
https://github.com/php/php-src.git
synced 2026-04-25 17:08:14 +02:00
c5401854fc
This should fix most of the remaining issues with tabs and spaces being mixed in tests.
23 lines
429 B
PHP
23 lines
429 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";
|
|
?>
|
|
--EXPECT--
|
|
bool(false)
|
|
string(5) "UTF-8"
|
|
Done
|
|
--CREDITS--
|
|
Florian Holzhauer fh-pt@fholzhauer.de
|
|
PHP Testfest Berlin 2009-05-09
|