Function

sprintf

Synopsis

sprintf(string, mixed ...): string

Area
Runtime\PS\Core\Strings\sprintfareas

Description

sprintf returns $format with each conversion replaced by the argument it names, coerced the way PHP renders a value in a string context; width, precision and padding count bytes.

Usage

$value = sprintf($arguments);
$fn = sprintf(...);

See also