1--TEST-- 2Test if bindtextdomain() returns false if path does not exist. 3--SKIPIF-- 4<?php 5if (!extension_loaded("gettext")) { 6 die("skip gettext extension is not loaded.\n"); 7} 8--FILE-- 9<?php 10chdir(dirname(__FILE__)); 11var_dump(bindtextdomain('example.org', 'foobar')); 12--EXPECT-- 13bool(false) 14--CREDITS-- 15Till Klampaeckel, till@php.net 16PHP Testfest Berlin 2009-05-09 17