This is PHP code that produces a visual representation of the connections between classes in PHP code.
Here's what I said when I initially finished it:
"The code is basically counting occurances of calls to static methods/constants/variables, creation of instances of class via the 'new' keyword, references to parent class, references to a class via PHP5 Type Hinting. Notably, it does not count calls to instance methods/constants/variables because then I would have to try to keep track of variable type while parsing source. Though the calls aren't being counted it terms of numbers, the dependency on the class of the instance variable will still have at least one reference and be mapped as long as there is either a 'new' or a type hinted parameter. Which... there totally should be."