Skip to content

Commit 4b33a05

Browse files
committed
Add Depreciation notice to tokeniser tests which use short tag INI.
1 parent 32cd3b4 commit 4b33a05

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

ext/tokenizer/tests/002.phpt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ token_get_all()
33
--SKIPIF--
44
<?php if (!extension_loaded("tokenizer")) print "skip"; ?>
55
--INI--
6-
short_open_tag=1
6+
short_open_tag=On
77
--FILE--
88
<?php
99

@@ -22,6 +22,7 @@ foreach ($strings as $s) {
2222
echo "Done\n";
2323
?>
2424
--EXPECTF--
25+
Deprecated: Directive 'short_open_tag' is deprecated in Unknown on line 0
2526
array(49) {
2627
[0]=>
2728
array(3) {

ext/tokenizer/tests/token_get_all_variation15.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ var_dump( token_get_all($source));
4949
echo "Done"
5050
?>
5151
--EXPECTF--
52+
Deprecated: Directive 'short_open_tag' is deprecated in Unknown on line 0
5253
*** Testing token_get_all() : with heredoc source string ***
5354
array(103) {
5455
[0]=>

0 commit comments

Comments
 (0)