📄 file_exceptions.php
字号:
<?phpclass fileOpenException extends Exception{ function __toString() { return 'fileOpenException '. $this->getCode() . ': '. $this->getMessage().'<br />'.' in ' . $this->getFile(). ' on line '. $this->getLine() . '<br />'; }}class fileWriteException extends Exception{ function __toString() { return 'fileWriteException '. $this->getCode() . ': '. $this->getMessage().'<br />'.' in ' . $this->getFile(). ' on line '. $this->getLine() . '<br />'; }}class fileLockException extends Exception{ function __toString() { return 'fileLockException '. $this->getCode() . ': '. $this->getMessage().'<br />'.' in ' . $this->getFile(). ' on line '. $this->getLine() . '<br />'; }}?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -