Find file
Fetching contributors…
Cannot retrieve contributors at this time
27 lines (23 sloc) 388 Bytes
--TEST--
Test to see if exceptions still work with Xdebug's hook enabled
--INI--
xdebug.default_enable=1
xdebug.auto_trace=0
xdebug.collect_params=0
xdebug.show_mem_delta=0
xdebug.profiler_enable=0
--FILE--
<?php
class FooException extends Exception {
}
function a() {
try {
throw new FooException('foo');
} catch (Exception $e) {
echo "Caught\n";
}
}
a();
?>
--EXPECT--
Caught