xref: /imagick/tests/017-clear-destroy.phpt (revision f0393fac)
1--TEST--
2Clear and destroy aliases
3--SKIPIF--
4<?php require_once(dirname(__FILE__) . '/skipif.inc'); ?>
5--FILE--
6<?php
7
8$im = new Imagick ();
9$im->clear ();
10$im->destroy ();
11
12$im = new ImagickDraw ();
13$im->clear ();
14$im->destroy ();
15
16$im = new ImagickPixel ();
17$im->clear ();
18$im->destroy ();
19
20$magick = new Imagick ('magick:rose');
21
22$im = new ImagickPixelIterator ($magick);
23$im->clear ();
24$im->destroy ();
25
26echo 'success';
27
28?>
29--EXPECT--
30success