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

PEAR_Dependency::checkProgram

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

PEAR_Dependency::checkProgram

PEAR_Dependency::checkProgram() – Check external program

Synopsis

require_once 'PEAR/Dependency.php';

mixed PEAR_Dependency::checkProgram ( mixed &$errmsg , string $program )

External program check method. Looks for executable files in directories listed in the PATH environment variable.

Parameter

mixed &$errmsg

this variable will contains an error message, if check fail

string $program

which program to look for

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