Ale*_*exV 14 php constants phpdoc
我们如何在PHP中使用define()定义(使用phpDocumentor)常量?
我在文档中找不到任何内容,但在sample2.php中找到了以下示例(我没看到它的用法):
/**#@+
* Constants
*/
/**
* first constant
*/
define('testing', 6);
/**
* second constant
*/
define('anotherconstant', strlen('hello'));
Run Code Online (Sandbox Code Playgroud)
任何人都可以告诉我用phpDocumentor在PHP中记录常量的最佳方法是什么?
| 归档时间: |
|
| 查看次数: |
9072 次 |
| 最近记录: |