PEAR logo

PHP_CompatInfo : The Definitive Guide

Name

PHP_CompatInfo::parseFolder — Alias of parseDir

Synopsis

    require_once 'PHP/CompatInfo.php';
   
void PHP_CompatInfo::parseFolder( $folder,  
  $options = array());  
string   $folder;
array   $options = array();

Description

Alias of parseDir function

Parameter

string $folder

Path of folder to parse

array $options

An array of options

Throws

throws no exceptions thrown

See

see PHP_CompatInfo::parseDir , PHP_CompatInfo::parseData

Since

since version 0.7.0 (2004-03-09)

Note

This function can not be called statically.

Return value

array - a hash which contains information keys: ignored_functions, ignored_extensions, ignored_constants, max_version, version, extensions, constants, tokens, cond_code

Example

See PHP_CompatInfo::parseDir() example.

PHP_CompatInfo : The Definitive Guide v 1.8.0 : August 1, 2008