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 )

Описание

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)

Замечание

This function can not be called statically.

Пример

See PHP_CompatInfo::getVersion() example.

    Поддержать сайт на родительском проекте КГБ