extend Exception

This commit is contained in:
Zeev Suraski 2004-02-12 12:21:16 +00:00
parent 08ed2cb9f7
commit 229aa6351f

View File

@ -4,7 +4,7 @@ ZE2: set_exception_handler()
<?php if (version_compare(zend_version(), "2.0.0-dev", "<")) print "skip Zend engine 2 required"; ?>
--FILE--
<?php
class MyException {
class MyException extends Exception {
function MyException($_error) {
$this->error = $_error;
}