diff options
Diffstat (limited to 'tests/lang/bug26866.phpt')
-rw-r--r-- | tests/lang/bug26866.phpt | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/tests/lang/bug26866.phpt b/tests/lang/bug26866.phpt deleted file mode 100644 index abb99c34fd..0000000000 --- a/tests/lang/bug26866.phpt +++ /dev/null @@ -1,25 +0,0 @@ ---TEST-- -Bug #26866 (segfault when exception raised in __get) ---FILE-- -<?php -class bar { - function get_name() { - return 'bar'; - } -} -class foo { - function __get($sName) { - throw new Exception('Exception!'); - return new bar(); - } -} -$foo = new foo(); -try { - echo $foo->bar->get_name(); -} -catch (Exception $E) { - echo "Exception raised!\n"; -} -?> ---EXPECT-- -Exception raised! |