1
0
mirror of https://github.com/php/php-src.git synced 2026-04-04 22:52:40 +02:00
Files
archived-php-src/ext/gettext/tests/gettext_bindtextdomain-path.phpt
Nikita Popov 7485978339 Migrate SKIPIF -> EXTENSIONS (#7138)
This is an automated migration of most SKIPIF extension_loaded checks.
2021-06-11 11:57:42 +02:00

15 lines
277 B
PHP

--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