xref: /imagick/tests/bug_72226.phpt (revision e675a7ec)
1--TEST--
2Allow Imagick exceptions to be extended.
3--SKIPIF--
4<?php require_once(dirname(__FILE__) . '/skipif.inc'); ?>
5--FILE--
6<?php
7error_reporting( E_ALL );
8
9ini_set( "display_errors", true );
10
11class UserlandImagickException extends ImagickException {}
12class UserlandImagickDrawException extends ImagickDrawException {}
13class UserlandImagickPixelException extends ImagickPixelException {}
14
15if (class_exists('ImagickKernelException', false) == true) {
16	class UserlandImagickKernelException extends ImagickKernelException
17	{
18	}
19}
20
21?>
22--EXPECTF--
23