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

Example that shows minimum version with Constants

  1. <?php
  2. /* Test Constants that appeared in >= 4.3.0 */
  3.  
  4. require_once 'PHP/CompatInfo.php';
  5.  
  6. function test_constants() {
  7. return __FUNCTION__;
  8. }
  9.  
  10. $info = new PHP_CompatInfo;
  11.  
  12. $file = __FILE__;
  13.  
  14. var_dump($info->parseFile($file));
  15. ?>

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