Reverse numberA number can be written in reverse order. For example 12345 = 54321 Logic:
Reversing Number in PHPExample: Below progrem shows digits reversal of 23456. Output: Reversing Number With strrev () in PHPExample: Function strrev() can also be used to reverse the digits of 23456. Output:/strong>
Next TopicReverse String
|