Replace string in all textfiles in directory

I needed to find and replace string in all php files of current folder.
This is simple perl command:

find <path to directory> -type f | xargs perl -pi -e 's/old_string/new_string/g'