I’m upgrading my software from using PHP7.4 to PHP8.0 (can’t use 8.1 yet), and a few of my tests are failing. Specifically the tests using Imagick.
I have a static sample image that I am comparing to the dynamic image the test is creating. The file is saved with the current time
time() as filename. I tried running the test twice (renders two images where the only difference is the filename). I then compare the output and there’s a few bytes of differences.
The only dynamic variable is the filename, but that isn’t stored in the output(?).
Shouldn’t Imagick create identical content when called with the same variables and parameters? The tests passed previously, so it has in earlier versions. Will this constitute a bug or are there reasons why the output will differ on each call?