summaryrefslogtreecommitdiff
path: root/Zend/tests/bug30161.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'Zend/tests/bug30161.phpt')
-rwxr-xr-xZend/tests/bug30161.phpt68
1 files changed, 34 insertions, 34 deletions
diff --git a/Zend/tests/bug30161.phpt b/Zend/tests/bug30161.phpt
index e0c7060dc..22f8fb59e 100755
--- a/Zend/tests/bug30161.phpt
+++ b/Zend/tests/bug30161.phpt
@@ -1,34 +1,34 @@
---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
+--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