PHP_CompatInfo
[ class tree: PHP_CompatInfo ] [ index: PHP_CompatInfo ] [ all elements ]

Example on using using parseArray() to parse a script

  1. <?php
  2.  
  3. /* Get the Compatibility info for an array */
  4.  
  5. require_once 'PHP/CompatInfo.php';
  6. require_once 'PEAR.php';
  7. require_once 'XML/Tree.php';
  8.  
  9. $info = new PHP_CompatInfo;
  10.  
  11. $files = get_included_files();
  12.  
  13. $options = array('debug' => false, 'ignore_files' => array($files[0]), 'ignore_functions' => array("debug_backtrace"));
  14.  
  15. var_dump($info->parseArray($files,$options));
  16. ?>

Documentation generated on Sat, 05 Mar 2005 20:00:45 -0500 by phpDocumentor 1.3.0RC3