WP_CLI\Utils

inside_phar()WP-CLI 1.0

No Hooks.

Return

null. Nothing.

Usage

inside_phar();

Code of inside_phar() WP-CLI 2.7.0-alpha

function inside_phar() {
	return 0 === strpos( WP_CLI_ROOT, PHAR_STREAM_PREFIX );
}