php-src/ext/reflection/tests/exception.inc
2018-02-10 19:20:23 +01:00

16 lines
369 B
PHP

<?php
class ReflectionExceptionEx extends ReflectionException {
function MyException($_errno, $_errmsg) {
$this->errno = $_errno;
$this->errmsg = $_errmsg;
}
function getErrno() {
return $this->errno;
}
function getErrmsg() {
return $this->errmsg;
}
}
?>