1--TEST-- 2test 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--EXPECT-- 17bool(false) 18string(5) "UTF-8" 19Done 20--CREDITS-- 21Florian Holzhauer fh-pt@fholzhauer.de 22PHP Testfest Berlin 2009-05-09 23