diff options
Diffstat (limited to 'Zend/tests/bug26698.phpt')
-rw-r--r-- | Zend/tests/bug26698.phpt | 86 |
1 files changed, 43 insertions, 43 deletions
diff --git a/Zend/tests/bug26698.phpt b/Zend/tests/bug26698.phpt index 066fdc3a37..834e0b77c2 100644 --- a/Zend/tests/bug26698.phpt +++ b/Zend/tests/bug26698.phpt @@ -7,56 +7,56 @@ ini_set("report_memleaks", 0); // the exception thrown in this test results in class ObjectOne { - function getNone() - { - throw new Exception('NONE'); - } + function getNone() + { + throw new Exception('NONE'); + } } class Proxy { - function three($a, $b, $c) - { - } + function three($a, $b, $c) + { + } - function callOne() - { - try - { - $res = new ObjectOne(); - $this->three($res->getNone()); - } - catch(Exception $e) - { - echo 'Caught: '.$e->getMessage()."\n"; - } - } + function callOne() + { + try + { + $res = new ObjectOne(); + $this->three($res->getNone()); + } + catch(Exception $e) + { + echo 'Caught: '.$e->getMessage()."\n"; + } + } - function callTwo() - { - try - { - $res = new ObjectOne(); - $this->three(1, $res->getNone()); - } - catch(Exception $e) - { - echo 'Caught: '.$e->getMessage()."\n"; - } - } + function callTwo() + { + try + { + $res = new ObjectOne(); + $this->three(1, $res->getNone()); + } + catch(Exception $e) + { + echo 'Caught: '.$e->getMessage()."\n"; + } + } - function callThree() - { - try - { - $res = new ObjectOne(); - $this->three(1, 2, $res->getNone()); - } - catch(Exception $e) - { - echo 'Caught: '.$e->getMessage()."\n"; - } - } + function callThree() + { + try + { + $res = new ObjectOne(); + $this->three(1, 2, $res->getNone()); + } + catch(Exception $e) + { + echo 'Caught: '.$e->getMessage()."\n"; + } + } } $p = new Proxy(); |