--TEST-- Test setlocale() function : error condition --INI-- error_reporting=E_ALL --SKIPIF-- --FILE-- --EXPECTF-- *** Testing setlocale() : error conditions *** -- Testing setlocale() function with Zero arguments -- Warning: setlocale() expects at least 2 parameters, 0 given in %s on line %d NULL -- Testing setlocale() function with One argument, 'category' = LC_ALL -- Warning: setlocale() expects at least 2 parameters, 1 given in %s on line %d NULL -- Testing setlocale() function with invalid locale array, 'category' = LC_ALL -- bool(false) -- Testing setlocale() function with invalid multiple locales, 'category' = LC_ALL -- bool(false) -- Testing setlocale() function with locale name too long, 'category' = LC_ALL -- Warning: setlocale(): Specified locale name is too long in %s on line %d bool(false) Done