1) Write a PHP program to check if a number is an Armstrong number or not. Return true if the number is Armstrong; otherwise return false. Note: An Armstrong number of three digits is an integer so that the sum of the cubes of its digits is equal to the number itself. For example, 153 is an Armstrong number since 1**3 + 5**3 + 3**3 = 153 Hint: Research the “pow” function.
2) Write a PHP program to check if a given string is an anagram of another given string. For example:
Input: (‘anagram’,’nagaram’)
Output: ‘anagram’ and ‘nagaram’ are anagrams.
3) Write a PHP program to check if a given string is an anagram of another given string. For example:
Input: (‘anagram’,’nagaram’)
Output: ‘anagram’ and ‘nagaram’ are anagrams.