14,954
edits
m (→installation) |
No edit summary |
||
| (7 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
[http://phpxref.sourceforge.net/ PHPXref - The PHP Cross Referencing Documentation Utility] | [http://phpxref.sourceforge.net/ PHPXref - The PHP Cross Referencing Documentation Utility] analyzing the following items of PHP scripts: | ||
* Variable references | * Variable references | ||
* Function references | * Function references | ||
* Class references | * Class references | ||
* Constant references | * Constant references | ||
== requirement == | == requirement == | ||
# [http://phpxref.sourceforge.net/#download Download] PHPXref for MS Windows | # [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 == | == installation == | ||
| Line 20: | Line 18: | ||
SOURCE=''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 == | == generation the cross reference report == | ||
# Execute the c:\PHPXref\phpxref.exe | # 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 | # Example of summary statistics | ||
<pre> Files Scanned: 1284 containing 669767 lines | <pre> Files Scanned: 1284 containing 669767 lines | ||
| Line 32: | Line 38: | ||
</pre> | </pre> | ||
Browse the generated report: file://c: | Browse the generated report: file://c:/PHPXref/output/index.html | ||
version: | version: | ||
* PHPXref 0.7 + IndigoPerl V9.02 / Perl 5.10.0 | * {{Win}} PHPXref 0.7 + IndigoPerl V9.02 / Perl 5.10.0 | ||
* PHPXref 0.7 + XAMPP 1.7.2 / v5.10.0 built for MSWin32-x86-multi-thread | * {{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]] | [[Category:PHP]] [[Category:Programming]] [[Category:Software]] | ||