On PHP 7.4.4 (Windows), imagecreatefrompng( $pngFile ) returns Image resource, as expected.
imagecreatefrompng( $pngFile )
After upgrade to PHP 8.0.1 (Windows), the same code returns FALSE, on same PNG file.
Notes:
2.1m questions
2.1m answers
60 comments
57.0k users