Merge branch 'PHP-8.0' into PHP-8.1

* PHP-8.0:
  fileinfo: Capture more sizes for test as delivered by travis-ci
  fileinfo: Capture more sizes for test as delivered by AppVeyor
This commit is contained in:
Anatol Belski 2021-09-18 23:18:11 +02:00
commit 62bfadc3b8
No known key found for this signature in database
GPG Key ID: BCAA30EA9C0D5763

View File

@ -11,14 +11,14 @@ $minSize = 128 * 1024;
$maxSize = 16 * 1024 * 1024;
$map = array(
131072 => 2097152,
262144 => 2097152,
524288 => 4194304,
1048576 => 4194304,
2097152 => 6295552,
4194304 => 10493952,
8388608 => 16785408,
16777216 => 29368320,
131072 => 9113600,
262144 => 9113600,
524288 => 9113600,
1048576 => 11210752,
2097152 => 13312000,
4194304 => 17510400,
8388608 => 23801856,
16777216 => 36384768,
);
for($size = $minSize; $size <= $maxSize; $size *= 2) {
$content = str_repeat('0', $size);