4

What is the meaning of the following in a php docblock:

#@+

An example in the zend framework code:

/**#@+
 * @const string Version constant numbers
 */
const VERSION_10 = '1.0';
const VERSION_11 = '1.1';
/**#@-*/

Im assuming its used to group related items but cant see for certain.

Also, its syntax is very odd - how does it translate when documentation is generated from it?

Marty Wallace
  • 34,046
  • 53
  • 137
  • 200

1 Answers1

5

This is a docblock template, so every documentable element (every const in this example) between the template has the same documentation.

Emii Khaos
  • 9,983
  • 3
  • 34
  • 57