• <bdo id='hr7kj'></bdo><ul id='hr7kj'></ul>
    <legend id='hr7kj'><style id='hr7kj'><dir id='hr7kj'><q id='hr7kj'></q></dir></style></legend>

    <i id='hr7kj'><tr id='hr7kj'><dt id='hr7kj'><q id='hr7kj'><span id='hr7kj'><b id='hr7kj'><form id='hr7kj'><ins id='hr7kj'></ins><ul id='hr7kj'></ul><sub id='hr7kj'></sub></form><legend id='hr7kj'></legend><bdo id='hr7kj'><pre id='hr7kj'><center id='hr7kj'></center></pre></bdo></b><th id='hr7kj'></th></span></q></dt></tr></i><div id='hr7kj'><tfoot id='hr7kj'></tfoot><dl id='hr7kj'><fieldset id='hr7kj'></fieldset></dl></div>

    1. <small id='hr7kj'></small><noframes id='hr7kj'>

    2. <tfoot id='hr7kj'></tfoot>

      如何判断哪些 PHP 文件实际被使用,哪些没有?

      How to tell which PHP files are actually used and which are not?(如何判断哪些 PHP 文件实际被使用,哪些没有?)

          <bdo id='9JSSC'></bdo><ul id='9JSSC'></ul>
          • <small id='9JSSC'></small><noframes id='9JSSC'>

                <tbody id='9JSSC'></tbody>
            • <i id='9JSSC'><tr id='9JSSC'><dt id='9JSSC'><q id='9JSSC'><span id='9JSSC'><b id='9JSSC'><form id='9JSSC'><ins id='9JSSC'></ins><ul id='9JSSC'></ul><sub id='9JSSC'></sub></form><legend id='9JSSC'></legend><bdo id='9JSSC'><pre id='9JSSC'><center id='9JSSC'></center></pre></bdo></b><th id='9JSSC'></th></span></q></dt></tr></i><div id='9JSSC'><tfoot id='9JSSC'></tfoot><dl id='9JSSC'><fieldset id='9JSSC'></fieldset></dl></div>

            • <tfoot id='9JSSC'></tfoot>

              <legend id='9JSSC'><style id='9JSSC'><dir id='9JSSC'><q id='9JSSC'></q></dir></style></legend>

                本文介绍了如何判断哪些 PHP 文件实际被使用,哪些没有?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                问题描述

                我有一个大型 PHP 网站,我现在要处理它.它包含数百个单独的 PHP 文件,但我怀疑只有不到一半真正被使用.其中大部分可能都可以删除.

                I got a large PHP website which I'm now about to take care of. It contains hundreds of separate PHP files, but I suspect only less than a half is really being used. Most of them probably can be deleted.

                但我真正想做的最后一件事是检查每个文件的代码并检查其是否链接、包含、需要...等.给其他人或是否可以安全删除.

                But the last thing I really want to do is going through the code of each file and check whether its linked, included, required...etc. to others or whether it can be safely deleted.

                你知道是否有任何工具可以做到这一点?

                Do you know whether there's any tool which is capable of doing this?

                推荐答案

                看看phpxref,它可能会满足您的需求.

                Take a look at phpxref, It might do what you need.

                交叉引用 PHP 类、函数、变量、常量和 require/include 用法.

                Cross-references PHP classes, functions, variables, constants and require/include usage.

                这篇关于如何判断哪些 PHP 文件实际被使用,哪些没有?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                相关文档推荐

                When should use doctrine ORM and when zend-db-table?(什么时候应该使用学说 ORM,什么时候应该使用 zend-db-table?)
                Doctrine - self-referencing entity - disable fetching of children(Doctrine - 自引用实体 - 禁用获取子项)
                Doctrine 2, query inside entities(原则 2,实体内部查询)
                Complex WHERE clauses using the PHP Doctrine ORM(使用 PHP Doctrine ORM 的复杂 WHERE 子句)
                Doctrine - OneToMany relation, all result row doesn#39;t fetch in object(Doctrine - OneToMany 关系,所有结果行不获取对象)
                Doctrine and unrefreshed relationships(教义和未更新的关系)
                    <tbody id='S3E3A'></tbody>

                    <bdo id='S3E3A'></bdo><ul id='S3E3A'></ul>

                    <small id='S3E3A'></small><noframes id='S3E3A'>

                    1. <tfoot id='S3E3A'></tfoot>

                          <i id='S3E3A'><tr id='S3E3A'><dt id='S3E3A'><q id='S3E3A'><span id='S3E3A'><b id='S3E3A'><form id='S3E3A'><ins id='S3E3A'></ins><ul id='S3E3A'></ul><sub id='S3E3A'></sub></form><legend id='S3E3A'></legend><bdo id='S3E3A'><pre id='S3E3A'><center id='S3E3A'></center></pre></bdo></b><th id='S3E3A'></th></span></q></dt></tr></i><div id='S3E3A'><tfoot id='S3E3A'></tfoot><dl id='S3E3A'><fieldset id='S3E3A'></fieldset></dl></div>
                          <legend id='S3E3A'><style id='S3E3A'><dir id='S3E3A'><q id='S3E3A'></q></dir></style></legend>