O'Reilly logo

PhpStorm Cookbook by Ankur Kumar, Mukund Chaudhary

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Commenting out a section of code and PHPDoc

PHPDoc is a facility provided by PHP, which is meant to document the complex code that you toiled very hard to build. The importance of documenting code and properly documented code need not be explained to those of you who have taken care of someone else's code at some point in their lives. For all others, and for those who know, yet are hungry for knowledge, here are a few points that might explain why you should always document your code—no matter what and how. Stay tuned for some interesting use cases.

Getting ready

You planned to cook PizzaDish. How did you proceed? You created an entity called Dish, designed some functions in it that will assist you in adding some ingredients, and created a special ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required