summaryrefslogtreecommitdiff
path: root/ext/standard/tests/strings/vprintf_variation12.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/tests/strings/vprintf_variation12.phpt')
-rw-r--r--ext/standard/tests/strings/vprintf_variation12.phpt16
1 files changed, 8 insertions, 8 deletions
diff --git a/ext/standard/tests/strings/vprintf_variation12.phpt b/ext/standard/tests/strings/vprintf_variation12.phpt
index 99938502d5..13b43624a1 100644
--- a/ext/standard/tests/strings/vprintf_variation12.phpt
+++ b/ext/standard/tests/strings/vprintf_variation12.phpt
@@ -64,16 +64,16 @@ $args_array = array(
true, false, TRUE,
0, 1, 1, 0,
1, TRUE, 0, FALSE),
-
+
);
-
+
// looping to test vprintf() with different octal formats from the above $format array
// and with non-octal values from the above $args_array array
$counter = 1;
foreach($args_array as $args) {
echo "\n-- Iteration $counter --\n";
$result = vprintf($formats, $args);
- echo "\n";
+ echo "\n";
var_dump($result);
$counter++;
}
@@ -86,7 +86,7 @@ foreach($args_array as $args) {
-- Iteration 1 --
2 0 12
361100 o 37777775456 2322
-
+
30071 14 37777777764 37777416700
12 361100 2 0
int(116)
@@ -94,7 +94,7 @@ int(116)
-- Iteration 2 --
2 37777777776 2
361100 o 37720715133 57062645
-
+
57060664 4475347 37721631371 37720717336
2 361100 2 37777777776
int(146)
@@ -102,7 +102,7 @@ int(146)
-- Iteration 3 --
0 0 0
173 o 37777777605 173
-
+
2322 0 $0 _0
0 173 0 0
int(88)
@@ -110,7 +110,7 @@ int(88)
-- Iteration 4 --
1 1 1
1 o 1 1
-
+
#1 1 $1 _1
1 1 1 1
int(75)
@@ -118,7 +118,7 @@ int(75)
-- Iteration 5 --
1 1 0
1 o 0 1
-
+
#0 1 $1 _0
0 1 1 1
int(75)