diff --git a/NEWS b/NEWS index d403e2fad3c..736fa7d4f53 100644 --- a/NEWS +++ b/NEWS @@ -12,6 +12,10 @@ PHP NEWS . Fixed bug GH-13903 (ASAN false positive underflow when executing copy()). (nielsdos) +- Fileinfo: + . Fixed bug GH-13795 (Test failing in ext/fileinfo/tests/bug78987.phpt on + big-endian PPC). (orlitzky) + - FPM: . Fixed bug GH-13563 (Setting bool values via env in FPM config fails). (Jakub Zelenka) diff --git a/ext/fileinfo/tests/bug78987.phpt b/ext/fileinfo/tests/bug78987.phpt index 423ecb1b851..ab7d9cad716 100644 --- a/ext/fileinfo/tests/bug78987.phpt +++ b/ext/fileinfo/tests/bug78987.phpt @@ -11,14 +11,14 @@ $minSize = 128 * 1024; $maxSize = 16 * 1024 * 1024; $map = array( - 131072 => 10055680, - 262144 => 10055680, - 524288 => 11898880, - 1048576 => 12152832, - 2097152 => 14254080, - 4194304 => 18452480, - 8388608 => 24743936, - 16777216 => 37326848, + 131072 => 10612736, + 262144 => 10612736, + 524288 => 12189696, + 1048576 => 12709888, + 2097152 => 14811136, + 4194304 => 19009536, + 8388608 => 25300992, + 16777216 => 37883904, ); for($size = $minSize; $size <= $maxSize; $size *= 2) { $content = str_repeat('0', $size);