Blog Post RSS ?

Blogs » PHP » PHPXref – Perl helping PHP
 

PHPXref – Perl helping PHP

by Harry Fuecks

Via the International PHP Magazine (Feb 2004, Print Edition) : PHPXref – a Perl utility for cross-referencing PHP source code and very handy indeed.

Basically you point it at some directory containing PHP source code and it generates a set of static HTML pages allowing you to browse the code in your project. The most useful feature is the list of classes, functions (+ methods) and variables it builds. If you need to know all the places in your code a particular function get’s called from, you can find out immediately. Also nice is PHPXref seems to be aware of phpdoc markup [edit] – aware of “doc blocks” at least.[/edit]

Would be nice to have a cross reference for constants and to be able to distinguish global variables quickly, neither of which is currently possible (version 0.4.1) but otherwise, a very useful tool.

Clearly what I was whining about here is not the case (there are some well reasoned follow ups here and here and, thankfully, it didnt start a “language war”).

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • Ping.fm
  • Twitthis

Related posts:

  1. PHP Support in NetBeans 6.5 Long dismissed as a "toy Java IDE", NetBeans - Sun's...
  2. How to Use PHP Namespaces, Part 2: Importing, Aliases, and Name Resolution In the second part of Craig's PHP namespaces series, he...
  3. How to Use PHP Namespaces, Part 1: The Basics In the first part of a series of articles, Craig...
  4. How to Use PHP Namespaces, Part 3: Keywords and Autoloading In the final part of his series explaining PHP namespaces,...
  5. Introducing php-tracer-weaver php-tracer-weaver is a tool for automatically generating docblock comments, with...

This post has one response so far

Sponsored Links

SitePoint Marketplace

Buy and sell Websites, templates, domain names, hosting, graphics and more.

Follow SitePoint on...