Skip to content

Commit e7f0fb2

Browse files
committed
Add deprecation notices to test case
1 parent eb12e85 commit e7f0fb2

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

Zend/tests/indexing_001.phpt

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ foreach ($testvalues as $testvalue) {
5252
}
5353

5454
?>
55-
--EXPECT--
55+
--EXPECTF--
5656
*** Indexing - Testing value assignment with key ***
5757
array(1) {
5858
["foo"]=>
@@ -67,6 +67,8 @@ Cannot use a scalar value as an array
6767
int(1)
6868
Cannot use a scalar value as an array
6969
bool(true)
70+
71+
Deprecated: Automatic conversion of false to array is deprecated in %s
7072
array(1) {
7173
["foo"]=>
7274
array(1) {
@@ -102,6 +104,8 @@ Cannot use a scalar value as an array
102104
int(1)
103105
Cannot use a scalar value as an array
104106
bool(true)
107+
108+
Deprecated: Automatic conversion of false to array is deprecated in %s
105109
array(1) {
106110
["foo"]=>
107111
&array(1) {
@@ -132,6 +136,8 @@ Cannot use a scalar value as an array
132136
int(1)
133137
Cannot use a scalar value as an array
134138
bool(true)
139+
140+
Deprecated: Automatic conversion of false to array is deprecated in %s
135141
array(1) {
136142
[0]=>
137143
array(1) {
@@ -163,6 +169,8 @@ Cannot use a scalar value as an array
163169
int(1)
164170
Cannot use a scalar value as an array
165171
bool(true)
172+
173+
Deprecated: Automatic conversion of false to array is deprecated in %s
166174
array(1) {
167175
[0]=>
168176
&array(1) {

0 commit comments

Comments
 (0)