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 Thu, 6 May 2004 16:59:20 +0100 by phpDocumentor 1.3.0RC3. PEAR Logo Copyright © PHP Group 2004.