php-src/tests/lang/throw_variation_001.phpt
2020-02-03 22:52:20 +01:00

15 lines
201 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