#!/usr/bin/env php <?php /** * phpDocumentor * * PHP Version 5.3 * * @copyright 2010-2013 Mike van Riel / Naenius (http://www.naenius.com) * @license http://www.opensource.org/licenses/mit-license.php MIT * @link http://phpdoc.org */
trigger_error('phpDocumentor2 should be run from the phpdoc file, not phpdoc.php', E_USER_DEPRECATED);
require_once __DIR__.'/php';#docdoct
#phpDocumentor 2是一個可以分析php原始碼和註解區塊並產生文件的程式。基於phpdocumentor 1和javadoc啟發而來,它持續創新的使用了一些新技術和支援php的新特性。 phpDocumentor 2的特點: 相容php5.3,全面支援命名空間和閉包等。 辨識支援任何tag,以及一些追加的 (例如 @link).
更快的處理速度。較 phpDocumentor 1在Zend Framework 下的處理耗時有了明顯的減少。
低記憶體消耗,小型中大型工程的記憶體消耗分別低於20MB,40MB和100MB。
增量解析。如果你有之前執行phpdoc取得的structure.xml文件,那麼小修改後重新產生文件的速度將會提升80%。
簡單就能建立模板,只要1小步驟和編輯3個檔案。
相容1代的命令列。例如 --directory, --file and --target
兩步驟式處理。先產生structure文件,你可以根據這個文件來格式化相關信息,用自己的工具來展現信息!
本站所有資源皆由網友貢獻或各大下載網站轉載。請自行檢查軟體的完整性!本站所有資源僅供學習參考。請不要將它們用於商業目的。否則,一切後果都由您負責!如有侵權,請聯絡我們刪除。聯絡方式:admin@php.cn
相關文章

24 Oct 2024
本文解釋了 Python 中函數或類別文件中使用的方括號的含義。它強調方括號表示可選參數,以 csv.DictReader 類別為例。文章明確指出,只有

21 Jul 2016
整合了前面的PHP資料庫連線類別~~做成一個分頁類別!。不知道學PHP有沒有前途~哎越寫越沒勁?php Classcreatedb//類的開始{ var$db="localhost";//資料庫位址; var$dbname="root";//用戶名; var$ dbpwd="";//密碼; var$

18 Feb 2025
薩米人:PHP強大的API文檔生成器 為您的PHP方法,類和功能生成單獨的文檔是一種最佳實踐。 本文介紹了SAMI,這是一個強大的API文檔生成器,簡化了此過程,


Hot Tools
