mirror of
https://github.com/php/php-src.git
synced 2024-12-21 16:00:18 +08:00
16 lines
368 B
PHP
16 lines
368 B
PHP
--TEST--
|
|
Test if bindtextdomain() returns false if path does not exist.
|
|
--SKIPIF--
|
|
<?php
|
|
if (!extension_loaded("gettext")) {
|
|
die("skip gettext extension is not loaded.\n");
|
|
}
|
|
--FILE--
|
|
<?php
|
|
chdir(dirname(__FILE__));
|
|
var_dump(bindtextdomain('example.org', 'foobar'));
|
|
--EXPECTF--
|
|
bool(false)
|
|
--CREDITS--
|
|
Till Klampaeckel, till@php.net
|
|
PHP Testfest Berlin 2009-05-09 |