WP_CLI::get_php_binary()
Get the path to the PHP binary used when executing WP-CLI.
Environment values permit specific binaries to be indicated.
Note: moved to Utils, left for BC.
Метод класса: WP_CLI{}
Хуков нет.
Возвращает
Строку
.
Использование
$result = WP_CLI::get_php_binary();
Код WP_CLI::get_php_binary() WP CLI::get php binary WP-CLI 2.8.0-alpha
public static function get_php_binary() { return Utils\get_php_binary(); }