summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>2004-02-12 12:37:04 +0000
committerZeev Suraski <zeev@php.net>2004-02-12 12:37:04 +0000
commit59a5701a8e98ffa701b1b66bc8ed43357fb0f418 (patch)
tree56ee86244b575eec2ce4c8c511630acc926399d1 /tests
parent08a1b6c476ad0df7db0535e7ca451bfc46c51ac6 (diff)
downloadphp-git-59a5701a8e98ffa701b1b66bc8ed43357fb0f418.tar.gz
extend Exception
Diffstat (limited to 'tests')
-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;