Funny strings
Solution
....- Given is an array
$strings
with 4 strings - Print:
- The original strings
- The strings, letters reversed
- Search on the internet for the PHP function you can use for this
- The strings, words reversed
- Write a function
reverseWords($string)
, with returns a string with the words of$string
in reversed order
- Write a function
- The strings, words starting with capital letter
- Search on the internet for the PHP function you can use for this