1
0
mirror of https://github.com/php/php-src.git synced 2026-04-25 17:08:14 +02:00
Files
archived-php-src/ext/gettext/tests/gettext_bind_textdomain_codeset-retval.phpt
T
Nikita Popov c5401854fc Run tidy
This should fix most of the remaining issues with tabs and spaces
being mixed in tests.
2020-09-18 14:28:32 +02:00

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