We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb56385 commit 62bbd4fCopy full SHA for 62bbd4f
1 file changed
tests/Utils/ArrayHash.phpt
@@ -126,7 +126,11 @@ test(function () { // numeric fields
126
foreach ($row as $key => $value) {
127
$keys[] = $key;
128
}
129
- Assert::same(['0', '1'], $keys);
+ if (PHP_VERSION_ID < 70200) {
130
+ Assert::same(['0', '1'], $keys);
131
+ } else {
132
+ Assert::same([0, 1], $keys);
133
+ }
134
135
Assert::same(1, $row->{0});
136
Assert::same(1, $row->{'0'});
0 commit comments