Annotation of embedaddon/php/ext/gettext/tests/gettext_bind_textdomain_codeset-retval.phpt, revision 1.1.1.1
1.1 misho 1: --TEST--
2: test if bind_textdomain_codeset() returns correct value
3: --SKIPIF--
4: <?php
5: if (!extension_loaded("gettext")) {
6: die("skip");
7: }
8: ?>
9: --FILE--
10: <?php
11: var_dump(bind_textdomain_codeset(false,false));
12: var_dump(bind_textdomain_codeset('messages', "UTF-8"));
13:
14: echo "Done\n";
15: ?>
16: --EXPECTF--
17: bool(false)
18: string(5) "UTF-8"
19: Done
20: --CREDITS--
21: Florian Holzhauer fh-pt@fholzhauer.de
22: PHP Testfest Berlin 2009-05-09
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>