Skip to content

Commit 229aa63

Browse files
committed
extend Exception
1 parent 08ed2cb commit 229aa63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/lang/035.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ ZE2: set_exception_handler()
44
<?php if (version_compare(zend_version(), "2.0.0-dev", "<")) print "skip Zend engine 2 required"; ?>
55
--FILE--
66
<?php
7-
class MyException {
7+
class MyException extends Exception {
88
function MyException($_error) {
99
$this->error = $_error;
1010
}

0 commit comments

Comments
 (0)