protected function setEnv(
        /*# string */ $key,
        /*# string */ $val,
        /*# bool */ $overload
    ) {
        if ($overload || false === getenv($key)) {
            // set env
            putenv("$key=$val");

            // also populate $_ENV
            $_ENV[$key] = $val;
        }
    }
protected function setEnv(
        /*# string */ $key,
        /*# string */ $val,
        /*# bool */ $overload
    ) {
        if ($overload || false === getenv($key)) {
            // set env
            putenv("$key=$val");

            // also populate $_ENV
            $_ENV[$key] = $val;
        }
    }
protected function setEnv ( /*# string */ $ key , /*# string */ $ val , /*# bool */ $ overload ) { if ( $ overload || false === getenv ( $ key ) ) { // set env putenv ( "$key=$val" ) ; // also populate $_ENV $ _ENV [ $ key ] = $ val ; } }
Set the env pair

@param  string $key
@param  string $val
@param  bool $overload
@access protected
Set the env pair