Does PHP support regions?
Question
In C# I can write #region and #endregion, is there an equivalent in PHP that works with all IDEs?
Thanks!
Autres conseils
No there is no #region in PHP. Its related to IDE/Editor actually. Not related to language.
Try this:
// <editor-fold defaultstate="collapsed" desc="user-description">
...any code...
// </editor-fold>
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow