1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00
Files
archived-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