summaryrefslogtreecommitdiff
path: root/Zend/tests/bug47771.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'Zend/tests/bug47771.phpt')
-rw-r--r--Zend/tests/bug47771.phpt10
1 files changed, 5 insertions, 5 deletions
diff --git a/Zend/tests/bug47771.phpt b/Zend/tests/bug47771.phpt
index a17fcf3b58..c4350b9d95 100644
--- a/Zend/tests/bug47771.phpt
+++ b/Zend/tests/bug47771.phpt
@@ -7,21 +7,21 @@ function throw_exc() {
}
class Test {
-
+
public function __construct() {
echo 'Constr' ."\n";
}
-
+
public function __destruct() {
echo 'Destr' ."\n";
}
-
+
}
try {
-
+
$T =new Test(throw_exc());
-
+
} catch( Exception $e) {
echo 'Exception: ' . $e->getMessage() . "\n";
}