- Viewed 10k times10answered Feb 21, 2010 at 14:11
There is no "real standard" about what should be commented and how, but some tags are used by pretty much anyone who comments his code.
For instance, I generally use at least :
a short descriptions
optionnally, a long description
...$]*]
/*** @package Zend_Cache* @subpackage Zend_Cache_Backend* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)* @license http://framework.zend.com/license/new-bsd New BSD License*/class Zend_Cache_Backend_Apc extends Zend_Cache_Backend implements Zend_Cache_Backend_ExtendedInterfaceContent Under CC-BY-SA license Explore further
WEBphpDocumentor is the de-facto documentation application for PHP projects. Your project can benefit too from more than 20 years of experience and setting the standard for documenting PHP Applications.
- People also ask
WEB43 rows · Features. phpDocumentor supports the following: PHP 7.0+ compatible, full support for Namespaces, Closures and more are provided. Docblock over types, docblocks can be more explicit about types not all …
Michael Angstadt's Blog: Using phpDocumentor with Eclipse
Using PHPDoc With PHP 7 - And Actually Making it Work
Code Documentation Using phpDocumentor | PHPEclipse: A User …
- Some results have been removed