summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/lang/error_2_exception_001.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lang/error_2_exception_001.phpt b/tests/lang/error_2_exception_001.phpt
index e3d1217f42..61f45d47d5 100644
--- a/tests/lang/error_2_exception_001.phpt
+++ b/tests/lang/error_2_exception_001.phpt
@@ -5,7 +5,7 @@ ZE2 errors caught as exceptions
--FILE--
<?php
-class MyException {
+class MyException extends Exception {
function MyException($_errno, $_errmsg) {
$this->errno = $_errno;
$this->errmsg = $_errmsg;