--TEST-- Bug #77272 (imagescale() may return image resource on failure) --INI-- memory_limit=-1 --SKIPIF-- --FILE-- ===DONE=== --EXPECTF-- Warning: imagescale():%S product of memory allocation multiplication would exceed INT_MAX, failing operation gracefully in %s on line %d bool(false) ===DONE===