PHP #region for code folding?

前端 未结 15 1457
星月不相逢
星月不相逢 2021-01-31 14:06

Is there an equivilent of c#\'s #region in PHP?

15条回答
  •  死守一世寂寞
    2021-01-31 15:02

    K.I.S.S. solution:

    { // region name, description, etc.
       code;
    }
    

    Or, comment above the brace... Braces don't need no function, man.

提交回复
热议问题