函数调用的文档

发布于 2024-09-24 22:53:09 字数 1431 浏览 0 评论 0原文

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

无可置疑 2024-10-01 22:53:09

PHP 世界中使用最广泛的文档标准是 PHPDoc。它源自 JavaDoc。大量 IDE 支持 PHPDoc,这意味着它们可以自动化文档编写,并且您可以获得代码补全和其他功能从它。

有几种工具可以从 PHPDoc 代码注释自动生成文档。 PHPdocumentor 已经在其他地方提到过是最突出的,但您也可以使用 Doxygen 它允许更广泛的文档格式

更新: phpDocumentor 已经过时了,无法正确使用 PHP5.3 代码(尝试过闭包吗?)。 (目前)有两个值得考虑的替代方案: DocBloxphpDox

The most widely used documentation standard in the PHP world is PHPDoc. It is derived from JavaDoc. A large number of IDEs support PHPDoc, which means they can automate documentation and you can gain code completion and other features from it.

Several tools exist to autogenerate documentation from PHPDoc code annotations. PHPdocumentor already mentioned elsewhere is the most prominent, but you can also use Doxygen which allows for a wider range of documentation formats

Update: phpDocumentor is quite outdated and cannot properly work with PHP5.3 code (tried closures?). There is (currently) two worthwhile alternatives to look at: DocBlox and phpDox.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文