mirror of
https://github.com/php/php-src.git
synced 2024-10-18 06:52:34 +00:00
15 lines
195 B
Plaintext
15 lines
195 B
Plaintext
|
--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
|