We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e984a57 commit b8c23efCopy full SHA for b8c23ef
ext/standard/tests/strings/printf.phpt
@@ -19,7 +19,7 @@ $float_numbers = array( 0, 1, -1, 0.32, -0.32, 3.4. -3.4, 2.54, -2.54, 1.2345
19
$int_variation = array( "%d", "%-d", "%+d", "%7.2d", "%-7.2d", "%07.2d", "%-07.2d", "%'#7.2d" );
20
$int_numbers = array( 0, 1, -1, 23333333, -23333333, "1234" );
21
22
-$char_variation = array( 'a', "a", 67, -67, 99 );
+$char_variation = array( 'a', "a", 67, -150 /* j */, 99 );
23
24
$string_variation = array( "%5s", "%-5s", "%05s", "%'#5s" );
25
$strings = array( NULL, "abc", 'aaa' );
@@ -101,7 +101,7 @@ print_r($int_numbers);
101
}
102
103
104
-/* Chararter type variations */
+/* Character type variations */
105
echo "\n\n*** Output for char type ***\n";
106
echo "\n Input Characters variation array is:\n";
107
print_r($char_variation);
@@ -473,7 +473,7 @@ Array
473
474
475
C
476
-�
+j
477
c
478
479
*** Output for scientific type ***
0 commit comments