Php's source code being as clean as php itself, it is often non-trivial to find what you're looking for (since the developer documentation is spartiate), ctags chokes on it, and their lxr instance seems to be down for various reasons.
Fortunately, one can simply instrument
make itself, with a sweet mix of
C++ and Python called Bear that uses
LD_PRELOAD internally, to generate the precious
Here is the listing of commands that you can copy/paste if you're lazy.
git clone firstname.lastname@example.org:rizsotto/Bear.git cd Bear mkdir build && cd build cmake .. make all -j `cat /proc/cpuinfo | grep processor | wc -l` make install cd - git clone email@example.com:php/php-src.git cd php-src ./buildconf ./configure bear make -j `cat /proc/cpuinfo | grep processor | wc -l` # this takes ages cd - git clone firstname.lastname@example.org:woboq/woboq_codebrowser.git cd wobog_codebrowser cmake . -DLLVM_CONFIG_EXECUTABLE=/opt/llvm/bin/llvm-config -DCMAKE_BUILD_TYPE=Release make -j `cat /proc/cpuinfo | grep processor | wc -l` ./generator/codebrowser_generator -b ../php-src -a -o /tmp/www_data -p php-src:../php-src:7.0 ./indexgenerator/codebrowser_indexgenerator ../php-src cp -rv ./data /tmp/data x-www-browser /tmp/www_data
If everything went according to plan, you should now have a sweet browsable (static) web display for php's source code like this one: