Arquivos
hhvm/hphp/test/ext/debugger_tests/exception_t.php
T
Paul Tarjan f5569e4755 clean up tests dir
I think this dir shouldn't have anything non-necessary in the root.
2013-06-06 16:31:09 -07:00

18 linhas
284 B
PHP

<?php
// Wanring: line numbers are sensitive, do not change
class MyException extends Exception { }
function throw_exception() {
throw new Exception();
}
function throw_myexception() {
throw new MyException();
}
function error_undefined_class() {
$x = new NoSuchClass();
}