1--TEST--
2Check how gettext() with wrong parameters behaves.
3--SKIPIF--
4<?php
5	if (!extension_loaded("gettext")) {
6		die("skip extension gettext not loaded\n");
7	}
8?>
9--FILE--
10<?php
11gettext (array());
12?>
13--EXPECTF--
14Warning: gettext() expects parameter 1 to be string, array given in %s on line 2
15--CREDITS--
16Moritz Neuhaeuser, info@xcompile.net
17PHP Testfest Berlin 2009-05-09
18