note 107392 modified in imagick.clone by danbrown
| From: | danbrown@php.net | Date: | Thu, 10 May 2012 21:18:48 +0000 |
| Subject: | note 107392 modified in imagick.clone by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-187874@lists.php.net to get a copy of this message | ||
Imagick::clone() is deprecated as of 3.1.0. Use the clone keyword
instead. <?php // instead
of $new = $image->clone(); // simple
use $new = clone $image; ?>
--was--
Imagick::clone() is deprecated as of 3.1.0. Use the clone keyword instead.
<?php
// instead of
$new = $image->clone();
// simple use
$new = clone $image;
?>
http://php.net/manual/en/imagick.clone.php