Skip to content

Commit d4e1f8e

Browse files
committed
Fixup after %0 specifier has been introduced for null bytes in run-test
1 parent de5fe1d commit d4e1f8e

File tree

5 files changed

+5
-11
lines changed

5 files changed

+5
-11
lines changed

ext/standard/tests/array/array_flip_variation2.phpt

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ $input = array(
2828
// numeric keys
2929
1 => 'int_key', // expected: value will be replaced by 'bool_key3'
3030
-2 => 'negative_key',
31-
8.9 => 'float_key',
3231
012 => 'octal_key',
3332
0x34 => 'hex_key',
3433

@@ -65,15 +64,13 @@ echo "Done"
6564
?>
6665
--EXPECTF--
6766
*** Testing array_flip() : different keys for 'input' array argument ***
68-
array(14) {
67+
array(13) {
6968
["bool_key4"]=>
7069
int(0)
7170
["bool_key3"]=>
7271
int(1)
7372
["negative_key"]=>
7473
int(-2)
75-
["float_key"]=>
76-
int(8)
7774
["octal_key"]=>
7875
int(10)
7976
["hex_key"]=>

ext/standard/tests/array/uasort_variation3.phpt

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ $array_arg = array(
4545
// numeric keys
4646
1 => 10, // expecting: value will be replaced by 'TRUE'
4747
-2 => 9,
48-
8.9 => 8,
4948
012 => 7,
5049
0x34 => 6,
5150

@@ -86,7 +85,7 @@ echo "Done"
8685
*** Testing uasort() : Sorting array with all possible keys ***
8786
bool(true)
8887
-- Sorted array after uasort() function call --
89-
array(14) {
88+
array(13) {
9089
["multiline heredoc with 123
9190
and speci@! ch@r..
9291
check also"]=>
@@ -105,8 +104,6 @@ check also"]=>
105104
int(25)
106105
[-2]=>
107106
int(9)
108-
[8]=>
109-
int(8)
110107
[10]=>
111108
int(7)
112109
[52]=>

ext/standard/tests/strings/chunk_split_variation9.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ echo "*** Testing chunk_split() : different strings for 'ending' ***\n";
1111

1212
//Initializing variables
1313
$str = "This is to test chunk_split() with various ending string";
14-
$chunklen = 6.5;
14+
$chunklen = 6;
1515

1616
//different values for 'ending' argument
1717
$values = array (

ext/standard/tests/strings/printf.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -557,7 +557,7 @@ array(4) {
557557
[1]=>
558558
string(6) "'%-5s'"
559559
[2]=>
560-
string(6) "'%05s'"
560+
string(6) "'%r%%r05s'"
561561
[3]=>
562562
string(7) "'%'#5s'"
563563
}

ext/standard/tests/strings/printf_64bit.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -557,7 +557,7 @@ array(4) {
557557
[1]=>
558558
string(6) "'%-5s'"
559559
[2]=>
560-
string(6) "'%05s'"
560+
string(6) "'%r%%r05s'"
561561
[3]=>
562562
string(7) "'%'#5s'"
563563
}

0 commit comments

Comments
 (0)