public static function getCurrentPhpName() { if (self::$currentPhpVersion !== null) { return self::$currentPhpVersion; } return getenv('PHPBREW_PHP'); }
public function execute() { $root = Config::getPhpbrewRoot(); $php = Config::getCurrentPhpName(); $file = "{$root}/php/{$php}/etc/php.ini"; Utils::editor($file); }