Return to throw_variation_001.phpt CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / tests / lang |
1.1 misho 1: --TEST-- 2: Catching an exception thrown from an included file 3: --FILE-- 4: <?php 5: 6: try { 7: include "inc_throw.inc"; 8: } catch (Exception $e) { 9: echo "caught exception\n"; 10: } 11: 12: ?> 13: --EXPECT-- 14: caught exception