1--TEST--
2Test if bindtextdomain() errors if the domain is empty.
3--SKIPIF--
4<?php
5if (!extension_loaded("gettext")) {
6    die("skip gettext extension is not loaded.\n");
7}
8--FILE--
9<?php
10chdir(__DIR__);
11bindtextdomain('', 'foobar');
12--EXPECTF--
13Warning: The first parameter of bindtextdomain must not be empty in %s on line %d
14--CREDITS--
15Till Klampaeckel, till@php.net
16PHP Testfest Berlin 2009-05-09
17