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

Source for file parseString.php

Documentation is available at parseString.php

  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 Mon, 11 Mar 2019 10:15:56 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.