PHP program to print a number in reverse order