classes/phing/tasks/system/PropertyTask.php
protected function loadEnvironment($prefix)
    {
        $props = new Properties();
        if (substr($prefix, strlen($prefix) - 1) == '.') {
            $prefix .= ".";
        }
        $this->log("Loading Environment $prefix", Project::MSG_VERBOSE);
        foreach ($_ENV as $key => $value) {
            $props->setProperty($prefix . '.' . $key, $value);
        }
        $this->addProperties($props);
    }
protected function loadEnvironment($prefix)
    {
        $props = new Properties();
        if (substr($prefix, strlen($prefix) - 1) == '.') {
            $prefix .= ".";
        }
        $this->log("Loading Environment $prefix", Project::MSG_VERBOSE);
        foreach ($_ENV as $key => $value) {
            $props->setProperty($prefix . '.' . $key, $value);
        }
        $this->addProperties($props);
    }
protected function loadEnvironment ( $ prefix ) { $ props = new Properties ( ) ; if ( substr ( $ prefix , strlen ( $ prefix ) - 1 ) == '.' ) { $ prefix .= "." ; } $ this -> log ( "Loading Environment $prefix" , Project :: MSG_VERBOSE ) ; foreach ( $ _ENV as $ key => $ value ) { $ props -> setProperty ( $ prefix . '.' . $ key , $ value ) ; } $ this -> addProperties ( $ props ) ; }
load the environment values

@param string $prefix prefix to place before them
load the environment values