summaryrefslogtreecommitdiff
path: root/Zend/tests/try
diff options
context:
space:
mode:
Diffstat (limited to 'Zend/tests/try')
-rw-r--r--Zend/tests/try/bug72213_2.phpt1
-rw-r--r--Zend/tests/try/bug72629.phpt1
-rw-r--r--Zend/tests/try/bug74444.phpt1
-rw-r--r--Zend/tests/try/catch_novar_1.phpt1
-rw-r--r--Zend/tests/try/try_finally_010.phpt1
5 files changed, 5 insertions, 0 deletions
diff --git a/Zend/tests/try/bug72213_2.phpt b/Zend/tests/try/bug72213_2.phpt
index 790abe125d..a9b5f1490b 100644
--- a/Zend/tests/try/bug72213_2.phpt
+++ b/Zend/tests/try/bug72213_2.phpt
@@ -21,5 +21,6 @@ try {
} catch (Exception $e) {
echo "caught {$e->getMessage()}\n";
}
+?>
--EXPECT--
caught 1
diff --git a/Zend/tests/try/bug72629.phpt b/Zend/tests/try/bug72629.phpt
index 2e8e40d6b2..f22c955693 100644
--- a/Zend/tests/try/bug72629.phpt
+++ b/Zend/tests/try/bug72629.phpt
@@ -11,5 +11,6 @@ try {
} catch (Exception $e) { }
var_dump($var === $e);
+?>
--EXPECT--
bool(true)
diff --git a/Zend/tests/try/bug74444.phpt b/Zend/tests/try/bug74444.phpt
index 949f83cb23..8b0f1dbd6d 100644
--- a/Zend/tests/try/bug74444.phpt
+++ b/Zend/tests/try/bug74444.phpt
@@ -72,5 +72,6 @@ function foo()
}
foo();
+?>
--EXPECT--
12
diff --git a/Zend/tests/try/catch_novar_1.phpt b/Zend/tests/try/catch_novar_1.phpt
index 80e93f3b95..9b9100c1bf 100644
--- a/Zend/tests/try/catch_novar_1.phpt
+++ b/Zend/tests/try/catch_novar_1.phpt
@@ -25,6 +25,7 @@ try {
echo "FAIL\n";
}
+?>
--EXPECT--
Exception
Exception
diff --git a/Zend/tests/try/try_finally_010.phpt b/Zend/tests/try/try_finally_010.phpt
index 8d5fa1e431..761cbc7f63 100644
--- a/Zend/tests/try/try_finally_010.phpt
+++ b/Zend/tests/try/try_finally_010.phpt
@@ -26,5 +26,6 @@ try {
echo "6";
}
echo "\n";
+?>
--EXPECT--
123456