summaryrefslogtreecommitdiff
path: root/ext/standard/tests/strings/sprintf_variation40.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/tests/strings/sprintf_variation40.phpt')
-rw-r--r--ext/standard/tests/strings/sprintf_variation40.phpt10
1 files changed, 5 insertions, 5 deletions
diff --git a/ext/standard/tests/strings/sprintf_variation40.phpt b/ext/standard/tests/strings/sprintf_variation40.phpt
index 774650a32c..3a7c17c686 100644
--- a/ext/standard/tests/strings/sprintf_variation40.phpt
+++ b/ext/standard/tests/strings/sprintf_variation40.phpt
@@ -9,13 +9,13 @@ if (PHP_INT_SIZE != 4) {
--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() : unsigned formats with integer values ***\n";
-// array of integer values
+// array of integer values
$integer_values = array(
0,
1,
@@ -31,9 +31,9 @@ $integer_values = array(
-0x80000000, // max negative integer as hexadecimal
0x7fffffff, // max positive integer as hexadecimal
0x7FFFFFFF, // max positive integer as hexadecimal
- 0123, // integer as octal
+ 0123, // integer as octal
01, // should be quivalent to octal 1
- -020000000000, // max negative integer as octal
+ -020000000000, // max negative integer as octal
017777777777 // max positive integer as octal
);
@@ -49,7 +49,7 @@ $unsigned_formats = array(
$count = 1;
foreach($integer_values as $integer_value) {
echo "\n-- Iteration $count --\n";
-
+
foreach($unsigned_formats as $format) {
var_dump( sprintf($format, $integer_value) );
}