tags:

views:

185

answers:

2
+9  A: 

Those are phpDocumentor comments. Comments starting with /** are used by documentation generators (by convention) to create documentation for the project. Here is a quick start guide for phpDocumentor.

cletus
Can I just add... some development environments (eg. PDT) parse PHPDoc comments and so can provide 'intellisense' surrounding function parameters, class members etc. (on top of the whole phpDocumentor thing).
Narcissus
I can confirm that PHPEd also uses them for Intellisense. PHPDoc is probably the feature I like PHP for the most.
Artem Russakovskii
+7  A: 

Many documentation generators can read from formats like this.

This is also used by many IDE's to help with coding. (for example Zend Studio and others)

/**
 * Title
 * 
 * @author Me
 * @copyright 2009
 * @name test
 * 
 * @param int $foo
 * @return bool 
 */
function test($foo)
{
 return is_int($foo);
}
Ólafur Waage