summaryrefslogtreecommitdiff
path: root/ext/standard/tests/strings/sprintf_variation35_64bit.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/tests/strings/sprintf_variation35_64bit.phpt')
-rw-r--r--ext/standard/tests/strings/sprintf_variation35_64bit.phpt10
1 files changed, 5 insertions, 5 deletions
diff --git a/ext/standard/tests/strings/sprintf_variation35_64bit.phpt b/ext/standard/tests/strings/sprintf_variation35_64bit.phpt
index 09ae50498e..37868f4b5c 100644
--- a/ext/standard/tests/strings/sprintf_variation35_64bit.phpt
+++ b/ext/standard/tests/strings/sprintf_variation35_64bit.phpt
@@ -5,13 +5,13 @@ Test sprintf() function : usage variations - hexa formats with float values
--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
*/
echo "*** Testing sprintf() : hexa formats with float values ***\n";
-// array of float values
+// array of float values
$float_values = array(
2147483647,
0x800000001, // float value, beyond max positive int
@@ -28,8 +28,8 @@ $float_values = array(
);
// array of hexa formats
-$hexa_formats = array(
- "%x", "%xx", "%lx",
+$hexa_formats = array(
+ "%x", "%xx", "%lx",
"%Lx", " %x", "%x ",
"\t%x", "\n%x", "%4x",
"%30x", "%[0-9A-Fa-f]", "%*x"
@@ -38,7 +38,7 @@ $hexa_formats = array(
$count = 1;
foreach($float_values as $float_value) {
echo "\n-- Iteration $count --\n";
-
+
foreach($hexa_formats as $format) {
// with two arguments
var_dump( sprintf($format, $float_value) );