Adding Comments
Zend Studio allows you to quickly and easily comment and uncomment code by selecting a line or a block of text and tagging it as a comment.
Comments can be added to single lines of code (Ctrl + /) or blocks of code (Ctrl + Shift + /).
In addition, special PHPDocBlock comments can also be added. See Adding PHP DocBlock Comments for more information.
The following procedures describe how to comment and uncomment lines and blocks of code.
Commenting a Line
|
To comment a line:
|
|
Commenting More than One Line
|
To comment more than one line:
|
|
|
Uncommenting a line/lines
|
To uncomment a line/lines:
|
|
Commenting a Block
|
To comment a block:
|
