Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Current events
Recent changes
Random page
Help
Categories
LemonWiki共筆
Search
Search
Appearance
Log in
Personal tools
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
PHPXref
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Special pages
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
[http://phpxref.sourceforge.net/ PHPXref - The PHP Cross Referencing Documentation Utility] analyzing the following items of PHP scripts: * Variable references * Function references * Class references * Constant references == requirement == # [http://phpxref.sourceforge.net/#download Download] PHPXref for MS Windows {{Win}} / {{Mac}} / {{Linux}} # install the perl if perl was not installed #* {{Win}} Download [http://www.indigostar.com/indigoperl.htm IndigoPerl], a binary distribution of Perl for Windows or [http://www.apachefriends.org/en/xampp.html xampp] built-in perl (not [http://tinyperl.sourceforge.net/ TinyPerl] 2.0 because they lack of some required perl modules .pm ) #* Verify the perl was installed: {{kbd | key = perl -v}} == installation == # (optional) Install the "IndigoPerl" to the default directory: c:\usr\ (perl.exe will be located to c:\usr\bin\perl.exe ) # Extract "PHPXref" to c:\PHPXref (or other directory you preferred) # Set the source php scripts where you want to analysis #* Modify the configuration file '''phpxref.cfg''' where the source php scripts located OR copy the ''php_scripts'' you want to analyze to c:\PHPXref\source\php_scripts\ SOURCE=''c:\PHPXref\source\php_scripts\'' <pre> # Character set to specify for generated HTML # CHARSET=iso-8859-1 CHARSET=utf-8 </pre> == generation the cross reference report == # Execute the following command and wait some minutes... #* {{Win}}: {{kbd | key=c:\PHPXref\phpxref.exe}} #* {{Mac}}/{{Linux}}: {{kbd | key=perl phpxref.pl}} # Example of summary statistics <pre> Files Scanned: 1284 containing 669767 lines 7640 variable names in 24339 definitions and 238971 references. 5102 function/method names in 7711 definitions and 44215 references. 288 constant names in 317 definitions and 6332 references. 688 class names in 696 definitions and 5925 references. 0 table names in 0 references. </pre> Browse the generated report: file://c:/PHPXref/output/index.html version: * {{Win}} PHPXref 0.7 + IndigoPerl V9.02 / Perl 5.10.0 * {{Win}} PHPXref 0.7 + XAMPP 1.7.2 / v5.10.0 built for MSWin32-x86-multi-thread * {{Mac}} PHPXref 0.7.1 + perl 5, version 18, subversion 2 (v5.18.2) built for darwin-thread-multi-2level [[Category:PHP]] [[Category:Programming]] [[Category:Software]]
Summary:
Please note that all contributions to LemonWiki共筆 are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see
LemonWiki共筆:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Templates used on this page:
Template:Kbd
(
edit
)
Template:Linux
(
edit
)
Template:Mac
(
edit
)
Template:Win
(
edit
)