Find all files with the extension ".php" in the current directory and its subdirectories, and delete all lines containing the word "echo" in them.
find . -maxdepth 2 -iname '*.php' -exec sed -i '/echo/d' {} \;