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 Tue, 9 Mar 2004 18:21:05 +0000 by phpDocumentor 1.3.0RC2. PEAR Logo Copyright © PHP Group 2004.