Skip to content
Advertisement

What do #@+ and #@- in PHP comment blocks mean?

I’ve seen several PHP files where there are some special characters at the beginning of a doc block. It starts with /**#@+ some doc-text */ and ends with /**#@-*/.

What do these symbols mean?

I found that this seems to be used in various PHP frameworks (Zend, phpseclib, Magento) but couldn’t find an explanation.

Example:

JavaScript

Advertisement

Answer

They are used for DocBlock templates (see Wikipedia).

User contributions licensed under: CC BY-SA
10 People found this is helpful
Advertisement