diff --git a/Zend/tests/try/exceptions.inc b/Zend/tests/try/exceptions.inc index 8a8777914c9..68cb1c62f70 100644 --- a/Zend/tests/try/exceptions.inc +++ b/Zend/tests/try/exceptions.inc @@ -3,3 +3,4 @@ class Exception1 extends Exception {} class Exception2 extends Exception {} class Exception3 extends Exception {} +class Exception4 extends Exception {} diff --git a/Zend/tests/try/try_multicatch_006.phpt b/Zend/tests/try/try_multicatch_006.phpt new file mode 100644 index 00000000000..e4505f1b243 --- /dev/null +++ b/Zend/tests/try/try_multicatch_006.phpt @@ -0,0 +1,22 @@ +--TEST-- +Catch first exception in the second multicatch +--FILE-- + +--EXPECT-- +TRY +Exception3 +FINALLY + diff --git a/Zend/tests/try/try_multicatch_007.phpt b/Zend/tests/try/try_multicatch_007.phpt new file mode 100644 index 00000000000..aa073b05920 --- /dev/null +++ b/Zend/tests/try/try_multicatch_007.phpt @@ -0,0 +1,22 @@ +--TEST-- +Catch second exception in the second multicatch +--FILE-- + +--EXPECT-- +TRY +Exception4 +FINALLY +