--TEST-- Test setlocale() function : error condition --SKIPIF-- --FILE-- --EXPECTF-- *** Testing setlocale() : error conditions *** -- Testing setlocale() function with Zero arguments -- Warning: Wrong parameter count for setlocale() in %s on line %d NULL -- Testing setlocale() function with One argument, 'category' = LC_ALL -- Warning: Wrong parameter count for setlocale() 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 invalid category -- Warning: setlocale(): Passing locale category name as string is deprecated. Use the LC_* -constants instead in %s on line %d Warning: setlocale(): Invalid locale category name TEST, must be one of LC_ALL, LC_COLLATE, LC_CTYPE, LC_MONETARY, LC_NUMERIC, or LC_TIME in %s on line %d bool(false) Done