php-src/tests/lang/throw_variation_001.phpt

15 lines
195 B
Plaintext
Raw Normal View History

2008-03-19 18:06:24 +00:00
--TEST--
Catching an exception thrown from an included file
--FILE--
<?php
try {
include "inc_throw.inc";
} catch (Exception $e) {
echo "caught exception\n";
}
?>
--EXPECT--
caught exception