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