--TEST-- hasPreviousImage test --SKIPIF-- --FILE-- read("magick:rose"); $gm->hasPreviousImage(); echo "ok"; ?> --EXPECTF-- ok