Print Reverse of any number Post author:Educate Post published:July 31, 2023 Post category:PHP Post comments:0 Comments Reverse Number =1) { $re=$num%10; $rev=$rev*10+$re; $num=$num/10; } } echo "Reverse of the given number is $rev"; ?> You Might Also Like Php program to find a factorial of given number July 29, 2023 PHP program to display a digital clock July 31, 2023 Armstrong number in PHP July 31, 2023 Leave a Reply Cancel replyCommentEnter your name or username to comment Enter your email address to comment Enter your website URL (optional) Save my name, email, and website in this browser for the next time I comment.