Sindbad~EG File Manager

Current Path : /proc/thread-self/root/opt/cpanel/ea-php74/root/usr/share/tests/pecl/imagick/tests/
Upload File :
Current File : //proc/thread-self/root/opt/cpanel/ea-php74/root/usr/share/tests/pecl/imagick/tests/001_imagick_readimage.phpt

--TEST--
Imagick::readImage test
--SKIPIF--
<?php require_once(dirname(__FILE__) . '/skipif.inc'); ?>
--FILE--
<?php
print "--- Catch exception with try/catch\n";
$imagick = new Imagick();
try {
	$imagick->readImage('foo.jpg');
} catch (ImagickException $e) {
	echo "got exception";
}

?>
--EXPECTF--
--- Catch exception with try/catch
got exception

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists