【发布时间】:2011-01-12 15:50:38
【问题描述】:
我们必须如何记录(使用phpDocumentor)在 PHP 中用define() 定义的常量?
我在文档中一无所获,但在 sample2.php 中找到了以下示例(我没有看到它的用途):
/**#@+
* Constants
*/
/**
* first constant
*/
define('testing', 6);
/**
* second constant
*/
define('anotherconstant', strlen('hello'));
谁能告诉我用 phpDocumentor 在 PHP 中记录常量的最佳方法是什么?
【问题讨论】: