diff options
Diffstat (limited to 'ext/standard/tests/strings/sprintf_variation2.phpt')
-rw-r--r-- | ext/standard/tests/strings/sprintf_variation2.phpt | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ext/standard/tests/strings/sprintf_variation2.phpt b/ext/standard/tests/strings/sprintf_variation2.phpt index a663df4444..967949a09c 100644 --- a/ext/standard/tests/strings/sprintf_variation2.phpt +++ b/ext/standard/tests/strings/sprintf_variation2.phpt @@ -3,7 +3,7 @@ Test sprintf() function : usage variations - with all types of values for arg1 a --FILE-- <?php /* Prototype : string sprintf(string $format [, mixed $arg1 [, mixed ...]]) - * Description: Return a formatted string + * Description: Return a formatted string * Source code: ext/standard/formatted_print.c */ @@ -24,7 +24,7 @@ class sample { public function __toString() { return "Object"; - } + } } // creating a file resource @@ -89,14 +89,14 @@ $values = array( $count = 1; foreach($values as $value) { echo "\n-- Iteration $count --\n"; - + // with two arguments var_dump( sprintf($format, $value) ); // with three arguments var_dump( sprintf($format, $value, $arg2) ); - - $count++; + + $count++; }; // closing the resource |