Get the path to the PHP binary used when executing WP-CLI.
Environment values permit specific binaries to be indicated.
Internal API documentation is generated from the WP-CLI codebase on every release. To suggest improvements, please submit a pull request.
- WP_CLI\Utils\get_temp_dir() - Get the system's temp directory. Warns user if it isn't writable.