WP_CLI::get_php_binary()public staticWP-CLI 1.0

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 2.8.0-alpha

public static function get_php_binary() {
	return Utils\get_php_binary();
}