Добро пожаловать на форум PHP программистов!
За последние 24 часа нас посетили 16657 программистов и 1698 роботов. Сейчас ищет 1761 программист ...

PEAR_Dependency::checkPHP

Вернуться к: PEAR_Dependency

PEAR_Dependency::checkPHP

PEAR_Dependency::checkPHP() – Check PHP version

Synopsis

require_once 'PEAR/Dependency.php';

mixed PEAR_Dependency::checkPHP ( mixed &$errmsg , string $req , string $relation = 'ge' )

PHP version check method

Parameter

mixed &$errmsg

this variable will contains an error message, if check fail

string $req

which version to compare

string $relation

how to compare the version

Return value

mixed - FALSE if dependency could be resolved successfully(!); or an PEAR_DEPENDENCY_* constant in case of unresolved dependency.

Note

This function can not be called statically.



Вернуться к: PEAR_Dependency

© 2025 «PHP.RU — Сообщество PHP-Программистов»
Главная | Форум | Реклама на сайте | Контакты VIP Сувениры
Разработка компании ODware