Skip to content

Commit 1065b41

Browse files
committed
Fix warnings in test
1 parent 7c4e89a commit 1065b41

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/test/php/lang/ast/unittest/emit/ArraysTest.class.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,8 @@ public function run($arg) {
199199
}
200200
}', $value);
201201

202+
// Yields "E_WARNING: Cannot use string as array" in PHP 8.5
203+
\xp::gc();
202204
Assert::equals([null, null, $value], $r);
203205
}
204206

0 commit comments

Comments
 (0)