summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
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;
}