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

来源:互联网 发布:编程技术流 编辑:程序博客网 时间:2024/04/29 22:44

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;

0 0
原创粉丝点击