--TEST-- Bug #72730: imagegammacorrect allows arbitrary write access --SKIPIF-- --FILE-- imagegammacorrect($img, -1, 1337) ); ?> --EXPECT-- !! [ValueError] imagegammacorrect(): Argument #2 ($input_gamma) must be greater than 0