How to reverse words present in string in PHP?
Example:
I am working in Google.
It should display the output as reversing first and last word and second word to fourth word and so on and the middle word should be same and should also display the number of words.
Output Example:
Google in working am i.