summaryrefslogtreecommitdiff
path: root/Zend/tests/bug30161.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'Zend/tests/bug30161.phpt')
-rwxr-xr-xZend/tests/bug30161.phpt34
1 files changed, 0 insertions, 34 deletions
diff --git a/Zend/tests/bug30161.phpt b/Zend/tests/bug30161.phpt
deleted file mode 100755
index 22f8fb59e8..0000000000
--- a/Zend/tests/bug30161.phpt
+++ /dev/null
@@ -1,34 +0,0 @@
---TEST--
-Bug #30161 (Segmentation fault with exceptions)
---FILE--
-<?php
-class FIIFO {
-
- public function __construct() {
- throw new Exception;
- }
-
-}
-
-class hariCow extends FIIFO {
-
- public function __construct() {
- try {
- parent::__construct();
- } catch(Exception $e) {
- }
- }
-
- public function __toString() {
- return "ok\n";
- }
-
-}
-
-
-$db = new hariCow;
-
-echo $db;
-?>
---EXPECT--
-ok