Program for Prime number in PHP
A number that is merely divisible by 1 and itself is named a major number. Numbers 2, 3, 5, 7, 11, 13, 17, etc. are prime …
Program for Even or Odd Number in PHP
All the numbers which end with 1,3,5,7 and 9 are odd numbers. for instance , numbers like 11, 23, 35, 47 etc. are odd numbers. All …
Sum of Digits in PHP
The sum of the digits of variety is named its digit sum. For instance , the digit sum of 15 is 6 because 1 + 5 …
How PHP Reverse Number Program Works?
It is very easy to reverse a number using PHP string function strrev(). But here i will show you without using strrev() function. crayon-62c25e1647dc5866216018/ Output: 54151