--TEST-- Test setlocale() function : error condition --INI-- error_reporting=14335 --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 invalid category -- Deprecated: 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