php-src/tests/lang/throw_variation_001.phpt
2008-03-19 18:06:22 +00:00

15 lines
195 B
PHP

--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