Skip to content

Instantly share code, notes, and snippets.

@char101
Created April 29, 2021 10:52
Show Gist options
  • Save char101/8dec2186b26633685746424192b6a8c8 to your computer and use it in GitHub Desktop.
Save char101/8dec2186b26633685746424192b6a8c8 to your computer and use it in GitHub Desktop.
Generating php functions prototype info (alternative to the old funcsummary.txt)
mkdir php-doc
pushd php-doc
git clone --depth=1 https://github.com/php/phd
mkdir phpdoc
pushd phpdoc
git clone --depth=1 https://github.com/php/doc-base
git clone --depth=1 https://github.com/php/doc-en en
php doc-base\configure.php --enable-chm
popd
mkdir output
php phd\render.php -d phpdoc\doc-base\.manual.xml -o output -P IDE -f json
rem the function prototypes can be generated from the json files in output\ide-json
popd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment