Find all files with the extension ".php" in the current directory and its subdirectories, and replace all occurrences of "glob" with "globul" in each file.
find . -type f -iname "*.php" -exec sed -i 's/glob/globul/g' {} +