1
0
mirror of https://github.com/php/php-src.git synced 2026-03-26 09:12:14 +01:00
Files
archived-php-src/ext/gettext/tests/gettext_bindtextdomain-path.phpt
Máté Kocsis 7aacc705d0 Add many missing closing PHP tags to tests
Closes GH-5958
2020-08-09 22:03:36 +02:00

18 lines
361 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(__DIR__);
var_dump(bindtextdomain('example.org', 'foobar'));
?>
--EXPECT--
bool(false)
--CREDITS--
Till Klampaeckel, till@php.net
PHP Testfest Berlin 2009-05-09