classes/phing/tasks/system/condition/PhingVersion.php
public function evaluate()
    {
        $this->validate();
        $actual = $this->getVersion();
        if (null != $this->atLeast) {
            return version_compare($actual, $this->atLeast, '>=');
        }

        if (null != $this->exactly) {
            return version_compare($actual, $this->exactly, '=');
        }

        return false;
    }
public function evaluate()
    {
        $this->validate();
        $actual = $this->getVersion();
        if (null != $this->atLeast) {
            return version_compare($actual, $this->atLeast, '>=');
        }

        if (null != $this->exactly) {
            return version_compare($actual, $this->exactly, '=');
        }

        return false;
    }
public function evaluate ( ) { $ this -> validate ( ) ; $ actual = $ this -> getVersion ( ) ; if ( null != $ this -> atLeast ) { return version_compare ( $ actual , $ this -> atLeast , '>=' ) ; } if ( null != $ this -> exactly ) { return version_compare ( $ actual , $ this -> exactly , '=' ) ; } return false ; }
Evaluate the condition.

@return true if the condition is true.
@throws BuildException if an error occurs.
Evaluate the condition .