![]() PHP_CompatInfo : The Definitive Guide |
Before to have a look on each driver specific options, take a short pause on common options of all renderers.
silent mode : When parsing more than one source file, PHP_CompatInfo can display status of long process. With simple wait text messages, or a progress bar if PEAR::Console_ProgressBar is available (installed on your system).
The default mode silent On, is turn off when you specify a progress bar or a progress text with --progress or -p switches on CLI with the pci script.
If you run the web interface, you have to turn it on manually. For example:
See also the docs/examples/parseDir_withCustomProgressBar.php
example in the package distribution, to customize a progress bar
for the CLI and pci script usage.
output-level allow to choose what information (condition code level, extensions, constants, tokens, version) will be shown or hidden.
Default value is 31: that means we show all details. See the Command-Line Parser section, and -o | --output-level switch to learn more about values and corresponding behaviors.
summarize mode, is usefull when you parse more than one file, and don't want to see intermediate result of each file, but only the final one.
Default is turn off.
verbose level, give details deep you want to have: from 0 (no extra information) to 7 (full details).
Default level is 0. See the Command-Line Parser section, and -v | --verbose switch to learn more about values and corresponding behaviors.
![]() |
Important |
---|---|
All renderers can be run in both interfaces (web and cli), this is why we can find a hash named args in the driver array options (second parameter of PHP_CompatInfo class constructor). This hash replace corresponding arguments you should have (otherwise) to specify on the Command-Line. |
PHP_CompatInfo : The Definitive Guide | v 1.8.0 : August 1, 2008 |