--TEST-- Bug #79212 (NumberFormatter::format() may detect wrong type) --SKIPIF-- --FILE-- format(gmp_init('823749273428379492374'))); $fmt = new NumberFormatter('en_US', NumberFormatter::PATTERN_DECIMAL); var_dump($fmt->format([1], NumberFormatter::TYPE_INT64)); ?> --EXPECTF-- string(21) "823749273428379%c%c%c%c%c%c" string(1) "1"