Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: xdebug_2_1
Fetching contributors…

Cannot retrieve contributors at this time

27 lines (23 sloc) 0.388 kb
--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
Jump to Line
Something went wrong with that request. Please try again.