String Reversal in PHP
Given a string:
<?php
$str = '12345';
?>
Make the following string from our string:
'54321'
Check if the word is a palindrome (read the same in all directions, examples of such words: madam, otto, kayak, nun, level).
Given a string:
<?php
$str = '12345';
?>
Make the following string from our string:
'54321'
Check if the word is a palindrome (read the same in all directions, examples of such words: madam, otto, kayak, nun, level).