Hi,

I plan to add imagecompare to the gd extension
<https://github.com/php/php-src/pull/14877>. No problem so far however a
little discussion of the returned value

https://github.com/php/php-src/pull/14877#issuecomment-2217686123

I personally see a value of a bitmask rather than just boolean which is not
harder to handle than imagetypes
<https://www.php.net/manual/en/function.imagetypes.php>.

Let me know your thoughts.

Cheers.

Reply via email to