String Reversal in PHP

strrev
Задание 1

Given a string:

php<?php
  $str = '12345';
?>

Make the following string from our string:

php'54321'
Задание 2

Check if the word is a palindrome (read the same in all directions, examples of such words: madam, otto, kayak, nun, level).