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

Source for file ignorePHP5implements.php

Documentation is available at ignorePHP5implements.php

  1. <?php
  2. /**
  3.  * Exclude all PHP5 functions when calculating the version needed.
  4.  *
  5.  * @version   $Id: ignorePHP5implements.php,v 1.1 2006/08/23 20:20:43 farell Exp $
  6.  * @author    Laurent Laville <pear@laurent-laville.org>
  7.  * @ignore
  8.  */
  9.  
  10. require_once 'PHP/CompatInfo.php';
  11.  
  12. $info = new PHP_CompatInfo();
  13.  
  14. $dir 'C:\PEAR\Tools and utilities\PhpDocumentor-1.3.0';
  15. $options = array(
  16.     'debug' => true,
  17.     'ignore_functions' => PHP_CompatInfo::loadVersion('5.0.0'),
  18.     'ignore_constants' => array('clone''public')
  19.     );
  20.  
  21. $res $info->parseFolder($dir$options);
  22. var_dump($res);
  23. ?>

Documentation generated on Mon, 11 Mar 2019 14:44:07 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.