Install pecl/inclued
extension=inclued.so
inclued.enabled=1
inclued.dumpdir=/tmp
Generate graph
% php ~/pecl/inclued/gengraph.php -i inclued.27843.1
Written inclued.out.dot...
% dot -Tpng -o 1.png inclued.out.dot