summaryrefslogtreecommitdiff
path: root/Zend/tests/bug49893.phpt
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2020-02-03 22:52:20 +0100
committerNikita Popov <nikita.ppv@gmail.com>2020-02-03 22:52:20 +0100
commitf8d795820e780a6322e054c26c581570613c14f0 (patch)
tree99d3ae01ce564752807341c5743863b4c92513f8 /Zend/tests/bug49893.phpt
parentd2cb200e10ada6fa44c54a29292bb4665728fff0 (diff)
downloadphp-git-f8d795820e780a6322e054c26c581570613c14f0.tar.gz
Reindent phpt files
Diffstat (limited to 'Zend/tests/bug49893.phpt')
-rw-r--r--Zend/tests/bug49893.phpt26
1 files changed, 13 insertions, 13 deletions
diff --git a/Zend/tests/bug49893.phpt b/Zend/tests/bug49893.phpt
index addf447073..adab4421dd 100644
--- a/Zend/tests/bug49893.phpt
+++ b/Zend/tests/bug49893.phpt
@@ -3,24 +3,24 @@ Bug #49893 (Crash while creating an instance of Zend_Mail_Storage_Pop3)
--FILE--
<?php
class A {
- function __destruct() {
- try {
- throw new Exception("2");
- } catch (Exception $e) {
- echo $e->getMessage() . "\n";
- }
- }
+ function __destruct() {
+ try {
+ throw new Exception("2");
+ } catch (Exception $e) {
+ echo $e->getMessage() . "\n";
+ }
+ }
}
class B {
- function __construct() {
- $this->a = new A();
- throw new Exception("1");
- }
+ function __construct() {
+ $this->a = new A();
+ throw new Exception("1");
+ }
}
try {
- $b = new B();
+ $b = new B();
} catch(Exception $e) {
- echo $e->getMessage() . "\n";
+ echo $e->getMessage() . "\n";
}
?>
--EXPECT--