Find all files with the extension .php in the current working directory and add them to a tar file called mytarfile.tar in the /tmp directory.
find `pwd` -name '*.php' | xargs tar cvf /tmp/mytarfile.tar