classes/phing/tasks/ext/zendguard/ZendGuardEncodeTask.php
protected function encodeFile($filePath)
    {
        $command = $this->encodeCommand . $filePath . ' 2>&1';

        $this->log('Running: ' . $command, Project::MSG_VERBOSE);

        $tmp = exec($command, $output, $return_var);
        if ($return_var !== 0) {
            throw new BuildException("Encoding failed. \n Msg: " . $tmp . " \n Encode command: " . $command);
        }

        return true;
    }
protected function encodeFile($filePath)
    {
        $command = $this->encodeCommand . $filePath . ' 2>&1';

        $this->log('Running: ' . $command, Project::MSG_VERBOSE);

        $tmp = exec($command, $output, $return_var);
        if ($return_var !== 0) {
            throw new BuildException("Encoding failed. \n Msg: " . $tmp . " \n Encode command: " . $command);
        }

        return true;
    }
protected function encodeFile ( $ filePath ) { $ command = $ this -> encodeCommand . $ filePath . ' 2>&1' ; $ this -> log ( 'Running: ' . $ command , Project :: MSG_VERBOSE ) ; $ tmp = exec ( $ command , $ output , $ return_var ) ; if ( $ return_var !== 0 ) { throw new BuildException ( "Encoding failed. \n Msg: " . $ tmp . " \n Encode command: " . $ command ) ; } return true ; }
Encodes a file using currently defined Zend Guard settings

@param  string $filePath Path to the encoded file
@throws BuildException
@return bool
Encodes a file using currently defined Zend Guard settings