diff --git a/reference/strings/functions/sprintf.xml b/reference/strings/functions/sprintf.xml index ecb04660e8..1d1d9090f5 100644 --- a/reference/strings/functions/sprintf.xml +++ b/reference/strings/functions/sprintf.xml @@ -30,7 +30,7 @@ The format string is composed of zero or more directives: ordinary characters (excluding %) that are - copied directly to the result, and conversion + copied directly to the result and conversion specifications, each of which results in fetching its own parameter. This applies to both sprintf and printf. @@ -97,16 +97,16 @@ b - the argument is treated as an - integer, and presented as a binary number. + integer and presented as a binary number. c - the argument is treated as an - integer, and presented as the character with that ASCII + integer and presented as the character with that ASCII value. d - the argument is treated as an - integer, and presented as a (signed) decimal number. + integer and presented as a (signed) decimal number. e - the argument is treated as scientific @@ -121,11 +121,11 @@ f - the argument is treated as a - float, and presented as a floating-point number (locale aware). + float and presented as a floating-point number (locale aware). F - the argument is treated as a - float, and presented as a floating-point number (non-locale aware). + float and presented as a floating-point number (non-locale aware). Available since PHP 5.0.3. @@ -138,7 +138,7 @@ o - the argument is treated as an - integer, and presented as an octal number. + integer and presented as an octal number. s - the argument is treated as and @@ -146,7 +146,7 @@ u - the argument is treated as an - integer, and presented as an unsigned decimal number. + integer and presented as an unsigned decimal number. x - the argument is treated as an integer