1--TEST--
2Test if dcgettext() errors when you don't supply the correct params.
3--SKIPIF--
4<?php
5if (!extension_loaded("gettext")) {
6    die("skip gettext extension is not loaded.\n");
7}
8--FILE--
9<?php
10var_dump(dcgettext('a', 'b'));
11--EXPECTF--
12Warning: dcgettext() expects exactly 3 parameters, 2 given in %s on line %d
13NULL
14--CREDITS--
15Christian Weiske, cweiske@php.net
16PHP Testfest Berlin 2009-05-09