dis-bench / src /php /php-src /ext /gettext /tests /gettext_bindtextdomain-path.phpt
meddyrat's picture
Replace repository contents with the original corrected artifact
1e94262
Raw History Blame Contribute Delete
277 Bytes
--TEST--
Test if bindtextdomain() returns false if path does not exist.
--EXTENSIONS--
gettext
--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