Example

<zendguardencode
 shortTags="false"
 productName="Phing"
 privateKeyPath="/var/data/phing.key"
 licenseProduct="true"
 zendEncoderPath="/usr/local/Zend/ZendGuard-5_0_1/bin/zendenc5"
 >

 <fileset dir="src">
   <include name="**/*.php" />
   <exclude name="cache/**" />
   <exclude name="plugins/**" />
 </fileset>
 
 <fileset dir="src">
   <include name="plugins/cs*/**/*.php" />
   <include name="plugins/cs*/*.php" />
 </fileset>
</zendguardencode>

Encode all php files in the current directory and subdirectories. Exlude everything in cache/ and plugins/ but include everything in plugins that starts with cs.