The <readable> selector selects only files that are readable.
<readable>
<fileset dir="${src}" includes="**/*.php"> <readable> </fileset>