summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>2004-02-12 12:21:16 +0000
committerZeev Suraski <zeev@php.net>2004-02-12 12:21:16 +0000
commit229aa6351fe3bf7ed5230fa5b0b99508852f759c (patch)
treee708901a25bd7dc10d4b54c9aaf076f1b0be5fe1 /tests
parent08ed2cb9f7047ffdf42608af3c72366f7c0fff94 (diff)
downloadphp-git-229aa6351fe3bf7ed5230fa5b0b99508852f759c.tar.gz
extend Exception
Diffstat (limited to 'tests')
-rw-r--r--tests/lang/035.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lang/035.phpt b/tests/lang/035.phpt
index c6970b7bdf..9472999f47 100644
--- a/tests/lang/035.phpt
+++ b/tests/lang/035.phpt
@@ -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;
}