Reputation: 5980
What does /** this */
mean in PHP files? Does it have some special meaning, or is it treated as a normal multiline comment like /* comment */
?
Upvotes: 1
Views: 506
Reputation: 724222
As far as I know they have no special meaning, and are treated as normal multiline comments.
If you were referring to /** these */
(with a single *
for the closing delimiter), they're called PHPDoc comments. To the PHP interpreter they're still multiline comments, but The PHP interpreter tokenizes these as T_DOC_COMMENT
, and to many IDEs and the phpDocumentor tool they convey their actual documentative meaning.
Upvotes: 8
Reputation: 62603
No special meaning as such. But it may be used by tools such as PHPDoc to generate documentation.
Upvotes: 0