mirror of
https://github.com/php/php-src.git
synced 2024-12-20 15:30:38 +08:00
ded3d984c6
EXPECTF logic in run-tests.php is considerable, so let's avoid it.
16 lines
367 B
PHP
16 lines
367 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'));
|
|
--EXPECT--
|
|
bool(false)
|
|
--CREDITS--
|
|
Till Klampaeckel, till@php.net
|
|
PHP Testfest Berlin 2009-05-09 |