Skip to content

Commit 1e2ad13

Browse files
author
Moriyoshi Koizumi
committed
- Fix tests.
1 parent 5a87099 commit 1e2ad13

12 files changed

+39
-39
lines changed

ext/standard/tests/strings/bug40754.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,10 @@ bool(false)
5353
Warning: stripos(): Offset not contained in string in %s on line %d
5454
bool(false)
5555

56-
Notice: strrpos(): Offset is greater than the length of haystack string in %s on line %d
56+
Warning: strrpos(): Offset is greater than the length of haystack string in %s on line %d
5757
bool(false)
5858

59-
Notice: strripos(): Offset is greater than the length of haystack string in %s on line %d
59+
Warning: strripos(): Offset is greater than the length of haystack string in %s on line %d
6060
bool(false)
6161
int(2)
6262
unicode(8) "abcdeabc"

ext/standard/tests/strings/strripos_offset.phpt

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,30 +16,30 @@ var_dump(strripos(1024, "te", -PHP_INT_MAX-1));
1616
echo "Done\n";
1717
?>
1818
--EXPECTF--
19-
Notice: strripos(): Offset is greater than the length of haystack string in %s on line %d
19+
Warning: strripos(): Offset is greater than the length of haystack string in %s on line %d
2020
bool(false)
2121

22-
Notice: strripos(): Offset is greater than the length of haystack string in %s on line %d
22+
Warning: strripos(): Offset is greater than the length of haystack string in %s on line %d
2323
bool(false)
2424

25-
Notice: strripos(): Offset is greater than the length of haystack string in %s on line %d
25+
Warning: strripos(): Offset is greater than the length of haystack string in %s on line %d
2626
bool(false)
2727

28-
Notice: strripos(): Offset is greater than the length of haystack string in %s on line %d
28+
Warning: strripos(): Offset is greater than the length of haystack string in %s on line %d
2929
bool(false)
3030

3131
Warning: strripos() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
3232
bool(false)
3333

34-
Notice: strripos(): Offset is greater than the length of haystack string in %s on line %d
34+
Warning: strripos(): Offset is greater than the length of haystack string in %s on line %d
3535
bool(false)
3636

37-
Notice: strripos(): Offset is greater than the length of haystack string in %s on line %d
37+
Warning: strripos(): Offset is greater than the length of haystack string in %s on line %d
3838
bool(false)
3939

40-
Notice: strripos(): Offset is greater than the length of haystack string in %s on line %d
40+
Warning: strripos(): Offset is greater than the length of haystack string in %s on line %d
4141
bool(false)
4242

43-
Notice: strripos(): Offset is greater than the length of haystack string in %s on line %d
43+
Warning: strripos(): Offset is greater than the length of haystack string in %s on line %d
4444
bool(false)
4545
Done

ext/standard/tests/strings/strrpos_basic2.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ int(0)
4545
bool(false)
4646
int(0)
4747

48-
Notice: strrpos(): Offset is greater than the length of haystack string in %s on line %d
48+
Warning: strrpos(): Offset is greater than the length of haystack string in %s on line %d
4949
bool(false)
5050
int(8)
5151
int(8)

ext/standard/tests/strings/strrpos_offset.phpt

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,27 +15,27 @@ var_dump(strrpos(1024, "te", -PHP_INT_MAX-1));
1515
echo "Done\n";
1616
?>
1717
--EXPECTF--
18-
Notice: strrpos(): Offset is greater than the length of haystack string in %s on line %d
18+
Warning: strrpos(): Offset is greater than the length of haystack string in %s on line %d
1919
bool(false)
2020

21-
Notice: strrpos(): Offset is greater than the length of haystack string in %s on line %d
21+
Warning: strrpos(): Offset is greater than the length of haystack string in %s on line %d
2222
bool(false)
2323

24-
Notice: strrpos(): Offset is greater than the length of haystack string in %s on line %d
24+
Warning: strrpos(): Offset is greater than the length of haystack string in %s on line %d
2525
bool(false)
2626

27-
Notice: strrpos(): Offset is greater than the length of haystack string in %s on line %d
27+
Warning: strrpos(): Offset is greater than the length of haystack string in %s on line %d
2828
bool(false)
2929

30-
Notice: strrpos(): Offset is greater than the length of haystack string in %s on line %d
30+
Warning: strrpos(): Offset is greater than the length of haystack string in %s on line %d
3131
bool(false)
3232

33-
Notice: strrpos(): Offset is greater than the length of haystack string in %s on line %d
33+
Warning: strrpos(): Offset is greater than the length of haystack string in %s on line %d
3434
bool(false)
3535

36-
Notice: strrpos(): Offset is greater than the length of haystack string in %s on line %d
36+
Warning: strrpos(): Offset is greater than the length of haystack string in %s on line %d
3737
bool(false)
3838

39-
Notice: strrpos(): Offset is greater than the length of haystack string in %s on line %d
39+
Warning: strrpos(): Offset is greater than the length of haystack string in %s on line %d
4040
bool(false)
4141
Done

ext/standard/tests/strings/strrpos_variation1.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,6 @@ bool(false)
179179
-- Iteration 35 --
180180
int(0)
181181

182-
Notice: strrpos(): Offset is greater than the length of haystack string in %s on line %d
182+
Warning: strrpos(): Offset is greater than the length of haystack string in %s on line %d
183183
bool(false)
184184
*** Done ***

ext/standard/tests/strings/strrpos_variation11.phpt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -93,12 +93,12 @@ echo "*** Done ***";
9393
-- Iteration 1 --
9494
bool(false)
9595

96-
Notice: strrpos(): Offset is greater than the length of haystack string in %s on line %d
96+
Warning: strrpos(): Offset is greater than the length of haystack string in %s on line %d
9797
bool(false)
9898
-- Iteration 2 --
9999
bool(false)
100100

101-
Notice: strrpos(): Offset is greater than the length of haystack string in %s on line %d
101+
Warning: strrpos(): Offset is greater than the length of haystack string in %s on line %d
102102
bool(false)
103103
-- Iteration 3 --
104104
bool(false)
@@ -171,15 +171,15 @@ bool(false)
171171
-- Iteration 15 --
172172
bool(false)
173173

174-
Notice: strrpos(): Offset is greater than the length of haystack string in %s on line %d
174+
Warning: strrpos(): Offset is greater than the length of haystack string in %s on line %d
175175
bool(false)
176176
-- Iteration 16 --
177177
bool(false)
178178
bool(false)
179179
-- Iteration 17 --
180180
bool(false)
181181

182-
Notice: strrpos(): Offset is greater than the length of haystack string in %s on line %d
182+
Warning: strrpos(): Offset is greater than the length of haystack string in %s on line %d
183183
bool(false)
184184
-- Iteration 18 --
185185
bool(false)

ext/standard/tests/strings/strrpos_variation12.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,14 +38,14 @@ int(11)
3838
int(11)
3939
int(2)
4040

41-
Notice: strrpos(): Offset is greater than the length of haystack string in %s on line %d
41+
Warning: strrpos(): Offset is greater than the length of haystack string in %s on line %d
4242
bool(false)
4343
int(5)
4444
int(5)
4545
int(0)
4646
bool(false)
4747
int(5)
4848

49-
Notice: strrpos(): Offset is greater than the length of haystack string in %s on line %d
49+
Warning: strrpos(): Offset is greater than the length of haystack string in %s on line %d
5050
bool(false)
5151
*** Done ***

ext/standard/tests/strings/strrpos_variation13.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,11 @@ int(12)
4040
int(12)
4141
bool(false)
4242

43-
Notice: strrpos(): Offset is greater than the length of haystack string in %s on line %d
43+
Warning: strrpos(): Offset is greater than the length of haystack string in %s on line %d
4444
bool(false)
4545
bool(false)
4646

47-
Notice: strrpos(): Offset is greater than the length of haystack string in %s on line %d
47+
Warning: strrpos(): Offset is greater than the length of haystack string in %s on line %d
4848
bool(false)
4949
int(0)
5050
bool(false)

ext/standard/tests/strings/strrpos_variation14.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,11 +90,11 @@ echo "*** Done ***";
9090
int(6)
9191
-- Iteration 2 --
9292

93-
Notice: strrpos(): Offset is greater than the length of haystack string in %s on line %d
93+
Warning: strrpos(): Offset is greater than the length of haystack string in %s on line %d
9494
bool(false)
9595
-- Iteration 3 --
9696

97-
Notice: strrpos(): Offset is greater than the length of haystack string in %s on line %d
97+
Warning: strrpos(): Offset is greater than the length of haystack string in %s on line %d
9898
bool(false)
9999
-- Iteration 4 --
100100
int(6)

ext/standard/tests/strings/strrpos_variation15.phpt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -92,19 +92,19 @@ echo "*** Done ***";
9292
bool(false)
9393
-- Iteration 2 --
9494

95-
Notice: strrpos(): Offset is greater than the length of haystack string in %s on line %d
95+
Warning: strrpos(): Offset is greater than the length of haystack string in %s on line %d
9696
bool(false)
9797
-- Iteration 3 --
9898

99-
Notice: strrpos(): Offset is greater than the length of haystack string in %s on line %d
99+
Warning: strrpos(): Offset is greater than the length of haystack string in %s on line %d
100100
bool(false)
101101
-- Iteration 4 --
102102

103103
Warning: Needle argument codepoint value out of range (0 - 0x10FFFF) in %s on line %d
104104
bool(false)
105105
-- Iteration 5 --
106106

107-
Notice: strrpos(): Offset is greater than the length of haystack string in %s on line %d
107+
Warning: strrpos(): Offset is greater than the length of haystack string in %s on line %d
108108
bool(false)
109109
-- Iteration 6 --
110110

@@ -140,13 +140,13 @@ Warning: strrpos() expects parameter 3 to be long, array given in %s on line %d
140140
bool(false)
141141
-- Iteration 15 --
142142

143-
Notice: strrpos(): Offset is greater than the length of haystack string in %s on line %d
143+
Warning: strrpos(): Offset is greater than the length of haystack string in %s on line %d
144144
bool(false)
145145
-- Iteration 16 --
146146
bool(false)
147147
-- Iteration 17 --
148148

149-
Notice: strrpos(): Offset is greater than the length of haystack string in %s on line %d
149+
Warning: strrpos(): Offset is greater than the length of haystack string in %s on line %d
150150
bool(false)
151151
-- Iteration 18 --
152152
bool(false)

ext/standard/tests/strings/strrpos_variation2.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,6 @@ bool(false)
183183
-- Iteration 36 --
184184
int(0)
185185

186-
Notice: strrpos(): Offset is greater than the length of haystack string in %s on line %d
186+
Warning: strrpos(): Offset is greater than the length of haystack string in %s on line %d
187187
bool(false)
188188
*** Done ***

ext/standard/tests/strings/strrpos_variation8.phpt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,14 +52,14 @@ bool(false)
5252
bool(false)
5353
-- Iteration 13 --
5454

55-
Notice: strrpos(): Offset is greater than the length of haystack string in %s on line %d
55+
Warning: strrpos(): Offset is greater than the length of haystack string in %s on line %d
5656
bool(false)
5757
-- Iteration 14 --
5858

59-
Notice: strrpos(): Offset is greater than the length of haystack string in %s on line %d
59+
Warning: strrpos(): Offset is greater than the length of haystack string in %s on line %d
6060
bool(false)
6161
-- Iteration 15 --
6262

63-
Notice: strrpos(): Offset is greater than the length of haystack string in %s on line %d
63+
Warning: strrpos(): Offset is greater than the length of haystack string in %s on line %d
6464
bool(false)
6565
*** Done ***

0 commit comments

Comments
 (0)