-
Notifications
You must be signed in to change notification settings - Fork 0
Tools
Matt Acosta edited this page Nov 25, 2017
·
1 revision
Shows the abstract syntax tree generated by PHP.
Prerequisites:
- Download and enable the php-ast extension
in your
php.ini
file. - Copy the
util.php
file to thetools/
directory.
Usage:
parse.php (<file>|<code>)
Shows how PHP tokenizes source code. These tokens are dependent on the version of PHP being used.
Usage:
tokenize.php (<file>|<code>)
Parses all files in a given directory and outputs all warnings and errors.
Usage:
node out/tools/validator/program.js <path>
Home
News
- Roadmap
Contributor Guide
Help