![]() ![]() | ![]() |
1.1 misho 1: <?php 2: class ReflectionExceptionEx extends ReflectionException { 3: function MyException($_errno, $_errmsg) { 4: $this->errno = $_errno; 5: $this->errmsg = $_errmsg; 6: } 7: 8: function getErrno() { 9: return $this->errno; 10: } 11: 12: function getErrmsg() { 13: return $this->errmsg; 14: } 15: } 16: ?>