本文介绍了是否可以替代支持PHP 5.3的PHPDocumentor?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

某些新的PHP 5.3功能(包括名称空间和匿名函数)与PHPDocumentor不兼容,即使与最新版本也不兼容.例如,当它遇到一个没有名字的函数",即一个闭包时,它只会引发一个错误.那么,是否还有其他开放源代码工具可以通过PHP 5.3代码中的Javadoc样式注释生成API文档(最好是HTML)?

Some of the new PHP 5.3 features, including namespaces and anonymous functions, are not compatible with PHPDocumentor, even with the latest release. For example, it just raises an error when it encounters "a function with no name", i.e. a closure. So, are there any other open-source tools that generate API documentation (preferably in HTML) from Javadoc-style comments in PHP 5.3 code?

推荐答案

好,我发现 PHPDoctor ,与PHP 5.3配合使用效果很好.虽然,如果有人发现更好的东西,我仍然很感兴趣,所以我没有解决这个问题.

Well, I've found PHPDoctor, which works pretty well with PHP 5.3. Although, I'd be still interested if anyone found something better, so I'm not closing the question.

这篇关于是否可以替代支持PHP 5.3的PHPDocumentor?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-12 04:36