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

Example on how to parse a string

  1. <?php
  2.  
  3. /* Get the Compatibility info for a string */
  4.  
  5. require_once 'PHP/CompatInfo.php';
  6.  
  7. $info = new PHP_CompatInfo;
  8.  
  9. var_dump($info->parseString('<?php $file = file_get_contents(__FILE__); $tokens = token_get_all($file); ?>'));
  10. ?>

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