mirror of
https://github.com/php/php-src.git
synced 2025-01-06 10:53:39 +08:00
15 lines
195 B
PHP
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
|