Take a string and reverse each word while keeping the order of the words.
Run the example with:
php reverser.php
Output:
Reversing string: hello world
Result: olleh dlrow
Unit tests is found in the tests
folder.
Run the tests with:
phpunit