PHP_CompatInfo::getConditions

PHP_CompatInfo::getConditions() – Returns the latest parse data source conditions

Synopsis

require_once 'PHP/CompatInfo.php';

mixed PHP_CompatInfo::getConditions ( mixed $file = false , bool $levelOnly = false )

Description

Returns the latest parse data source conditions, with or without contextual data

Parameter

mixed $file

(optional) A specific filename or not (FALSE)

boolean $levelOnly

(optional) Level with or without contextual data

Return value

returns Null on error or if there were no previous data parsing

Throws

throws no exceptions thrown

Since

since version 1.9.0b1 (2008-11-30)

Note

This function can not be called statically.

Example

See PHP_CompatInfo::getVersion() example.