Skip to content

Commit eb53003

Browse files
committed
Add depracation notice in strip_tags tests which use short_tags ini setting.
1 parent 23378a8 commit eb53003

11 files changed

+17
-3
lines changed

ext/standard/tests/strings/strip_tags_basic1.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ foreach($string_array as $string)
4343
echo "Done";
4444
?>
4545
--EXPECT--
46+
Deprecated: Directive 'short_open_tag' is deprecated in Unknown on line 0
4647
*** Testing strip_tags() : basic functionality ***
4748
-- Iteration 1 --
4849
string(5) "hello"

ext/standard/tests/strings/strip_tags_basic2.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ foreach($allowed_tags_array as $tags)
3939
echo "Done";
4040
?>
4141
--EXPECT--
42+
Deprecated: Directive 'short_open_tag' is deprecated in Unknown on line 0
4243
*** Testing strip_tags() : basic functionality ***
4344
-- Iteration 1 --
4445
string(33) "<html>helloworldOther text</html>"

ext/standard/tests/strings/strip_tags_variation10.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ foreach($single_quote_string as $string_value)
3939
echo "Done";
4040
?>
4141
--EXPECT--
42+
Deprecated: Directive 'short_open_tag' is deprecated in Unknown on line 0
4243
*** Testing strip_tags() : usage variations ***
4344
-- Iteration 1 --
4445
string(51) "<html> \$ -> This represents the dollar sign</html>"

ext/standard/tests/strings/strip_tags_variation11.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ foreach($string_array as $string)
2929
echo "Done";
3030
?>
3131
--EXPECT--
32+
Deprecated: Directive 'short_open_tag' is deprecated in Unknown on line 0
3233
*** Testing strip_tags() : obscure functionality ***
3334
-- Iteration 1 --
3435
string(12) "hello world"

ext/standard/tests/strings/strip_tags_variation2.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ foreach($values as $value) {
8686
echo "Done";
8787
?>
8888
--EXPECT--
89+
Deprecated: Directive 'short_open_tag' is deprecated in Unknown on line 0
8990
*** Testing strip_tags() : usage variations ***
9091
-- Iteration 1 --
9192
string(10) "helloworld"

ext/standard/tests/strings/strip_tags_variation4.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ foreach($strings as $string_value)
4646
echo "Done";
4747
?>
4848
--EXPECT--
49+
Deprecated: Directive 'short_open_tag' is deprecated in Unknown on line 0
4950
*** Testing strip_tags() : usage variations ***
5051
-- Iteration 1 --
5152
string(32) "hello world... strip_tags_test"

ext/standard/tests/strings/strip_tags_variation5.phpt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ for($index =0; $index < count($res_heredoc_strings); $index ++) {
7878
echo "Done\n";
7979
?>
8080
--EXPECT--
81+
Deprecated: Directive 'short_open_tag' is deprecated in Unknown on line 0
8182
*** Testing strip_tags() : usage variations ***
8283
-- Iteration 1 --
8384
string(0) ""
@@ -89,7 +90,8 @@ string(67) "<html>hello world</html>
8990

9091
This is a double quoted string"
9192
-- Iteration 4 --
92-
string(44) "<html>hello world
93+
string(44) "<html>hello
94+
world
9395
1111 != 2222 </html>
9496
"
9597
-- Iteration 5 --

ext/standard/tests/strings/strip_tags_variation6.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ foreach($strings as $value)
3535
echo "Done";
3636
?>
3737
--EXPECT--
38+
Deprecated: Directive 'short_open_tag' is deprecated in Unknown on line 0
3839
*** Testing strip_tags() : usage variations ***
3940
-- Iteration 1 --
4041
string(18) " I am html string "

ext/standard/tests/strings/strip_tags_variation7.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ foreach($strings as $string_value)
4444
echo "Done";
4545
?>
4646
--EXPECT--
47+
Deprecated: Directive 'short_open_tag' is deprecated in Unknown on line 0
4748
*** Testing strip_tags() : usage variations ***
4849
-- Iteration 1 --
4950
string(43) "<abc>hello</abc> world... strip_tags_test"

ext/standard/tests/strings/strip_tags_variation8.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ foreach($quotes as $string_value)
3939

4040
echo "Done";
4141
--EXPECT--
42+
Deprecated: Directive 'short_open_tag' is deprecated in Unknown on line 0
4243
*** Testing strip_tags() : usage variations ***
4344
-- Iteration 1 --
4445
string(33) "hello world... strip_tags_test "

ext/standard/tests/strings/strip_tags_variation9.phpt

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,18 +37,21 @@ foreach($double_quote_string as $string_value)
3737

3838
echo "Done";
3939
--EXPECT--
40+
Deprecated: Directive 'short_open_tag' is deprecated in Unknown on line 0
4041
*** Testing strip_tags() : usage variations ***
4142
-- Iteration 1 --
4243
string(50) "<html> $ -> This represents the dollar sign</html>"
4344
-- Iteration 2 --
44-
string(59) "<html> The quick brown fo x jumped over the lazy dog</p>"
45+
string(59) "<html>
46+
The quick brown fo x jumped over the lazy dog</p>"
4547
-- Iteration 3 --
4648
string(31) "<a>This is a hyper text tag</a>"
4749
-- Iteration 4 --
4850
string(0) ""
4951
-- Iteration 5 --
5052
string(26) "<p>This is a paragraph</p>"
5153
-- Iteration 6 --
52-
string(62) "<b>This is a text in bold letters\s\malong with slashes
54+
string(62) "<b>This is a text in bold letters
55+
\s\malong with slashes
5356
</b>"
5457
Done

0 commit comments

Comments
 (0)