From 8fd1f8079ea0cb10ecd11e1782cb93730fd2207c Mon Sep 17 00:00:00 2001 From: Zak Greant Date: Mon, 19 Nov 2001 13:46:48 +0000 Subject: [PATCH] Added terse docs for vprintf()/vsprintf(). Corrected return value for printf() git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@62788 c90b9560-bf6c-de11-be94-00142212c4b1 --- functions/strings.xml | 67 +++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 65 insertions(+), 2 deletions(-) diff --git a/functions/strings.xml b/functions/strings.xml index 560f702714..b12f0eb9ce 100644 --- a/functions/strings.xml +++ b/functions/strings.xml @@ -1,5 +1,5 @@ - + String functions Strings @@ -1682,7 +1682,7 @@ echo $second[1]; /* prints "another" */ Description - int printf + void printf string format mixed args... @@ -3845,6 +3845,69 @@ $text = ucwords($text); // $text is now: Mary Had A Little + + + vprintf + Output a formatted string + + + Description + + + void vprintf + string format + array + args + + + + + Display array values as a formatted string according to + format (which is described in the documentation + for sprintf). + + + Operates as printf but accepts an array of + arguments, rather than a variable number of arguments. + + + See also: printf, sprintf, + vsprintf + + + + + + + vsprintf + Return a formatted string + + + Description + + + string vsprintf + string format + array + args + + + + + Return array values as a formatted string according to + format (which is described in the documentation + for sprintf). + + + Operates as sprintf but accepts an array of + arguments, rather than a variable number of arguments. + + + See also: sprintf, vsprintf, + vprintf + + +