phpstorm每日tip的中英互译:
英文 | 中文 | 符号(MAC版本) | Code |
---|---|---|---|
The Inline Variable refactoring replaces redundant variable usage with its last assigned value. To invoke the refactoring, move the caret over the local variable to apply the refactoring to...and press ⌥⌘N(RefactorInline... ) |
去除无效赋值变量 | ⌥⌘N | public fuction demo(){ $a = 'abc'; return $a;} => ...{return 'abc'} |