![]() PHP_CompatInfo : The Definitive Guide |
The main steps of using any available renderer are quite similar:
![]() |
Note |
---|---|
To keep compatibility with previous versions, you can find the result similar to var_export (Array renderer) in $r (in our example). All parse functions (parseDir, parseFile, parseArray, parseString) have the same behavior. |
PHP_CompatInfo class constructor expect to receive two parameters: first one identify the kind of renderer (array, csv, html, null, text, xml), while second is private and specific to each renderer. Allows to customize a bit the renderer without to rewrite a new one (explore all options before beginning to write your own version).
PHP_CompatInfo : The Definitive Guide | v 1.8.0 : August 1, 2008 |