1--TEST--
2Imagick::readImage test
3--SKIPIF--
4<?php require_once(dirname(__FILE__) . '/skipif.inc'); ?>
5--FILE--
6<?php
7print "--- Catch exception with try/catch\n";
8$imagick = new Imagick();
9try {
10	$imagick->readImage('foo.jpg');
11} catch (ImagickException $e) {
12	echo "got exception";
13}
14
15?>
16--EXPECTF--
17--- Catch exception with try/catch
18got exception