Skip to the content.

Sprintf

This introduces the sprintf type specifiers to IntlFormat, but doesn’t format values with the intl extension.

$intlFormat = (new Budgegeria\IntlFormat\Factory())->createIntlFormat('en_US');

echo $intlFormat->format('Hello %s', 'world');
// "Hello world"

<- back