解决php的imagick库Strict Standards: Imagick::clone method is deprecated and it's use should be avoided

php的imagick库调用clone方法时会报Strict Standards: Imagick::clone method is deprecated and it's use should be avoided

解决方法很简单:

//$thumbnail = $im->clone(); //Strict Standards: Imagick::clone method is deprecated and it's use should be avoided
$thumbnail = clone $im;

猜你喜欢

转载自blog.csdn.net/ligaofeng/article/details/51207875