classes/phing/system/io/PhingFile.php
public function exists()
    {
        clearstatcache();

        if (is_link($this->path)) {
            return true;
        } else {
            if ($this->isDirectory()) {
                return true;
            } else {
                return @file_exists($this->path) || is_link($this->path);
            }
        }
    }
public function exists()
    {
        clearstatcache();

        if (is_link($this->path)) {
            return true;
        } else {
            if ($this->isDirectory()) {
                return true;
            } else {
                return @file_exists($this->path) || is_link($this->path);
            }
        }
    }
public function exists ( ) { clearstatcache ( ) ; if ( is_link ( $ this -> path ) ) { return true ; } else { if ( $ this -> isDirectory ( ) ) { return true ; } else { return @ file_exists ( $ this -> path ) || is_link ( $ this -> path ) ; } } }
Tests whether the file denoted by this abstract pathname exists.

@return boolean true if and only if the file denoted by this
abstract pathname exists; false otherwise
Tests whether the file denoted by this abstract pathname exists .