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.
Method of the class: WP_CLI{}
No Hooks.
Returns
String.
Usage
$result = WP_CLI::get_php_binary();
WP_CLI::get_php_binary() WP CLI::get php binary code WP-CLI 2.13.0-alpha
public static function get_php_binary() {
return Utils\get_php_binary();
}