summaryrefslogtreecommitdiff
path: root/Zend/tests/bug71163.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/bug71163.phpt
parentd2cb200e10ada6fa44c54a29292bb4665728fff0 (diff)
downloadphp-git-f8d795820e780a6322e054c26c581570613c14f0.tar.gz
Reindent phpt files
Diffstat (limited to 'Zend/tests/bug71163.phpt')
-rw-r--r--Zend/tests/bug71163.phpt16
1 files changed, 8 insertions, 8 deletions
diff --git a/Zend/tests/bug71163.phpt b/Zend/tests/bug71163.phpt
index f87b951480..71470027ba 100644
--- a/Zend/tests/bug71163.phpt
+++ b/Zend/tests/bug71163.phpt
@@ -3,20 +3,20 @@ Bug #71163 (Segmentation Fault (cleanup_unfinished_calls))
--FILE--
<?php
spl_autoload_register(function ($name) {
- eval ("class $name extends Exception { public static function foo() {}}");
- throw new Exception("boom");
+ eval ("class $name extends Exception { public static function foo() {}}");
+ throw new Exception("boom");
});
function test2() {
- try {
- Test::foo();
- } catch (Exception $e) {
- echo "okey";
- }
+ try {
+ Test::foo();
+ } catch (Exception $e) {
+ echo "okey";
+ }
}
function test() {
- test2();
+ test2();
}
test();