PHP examples programs with output and source code.
PHP Programs
- PHP program to print sum of digits
- PHP program to check prime number
- PHP program to print table of a number
- PHP program to print factorial of a number
- PHP program to check armstrong number
- PHP program to check palindrome number
- PHP program to print fibonacci series without using recursion and using recursion
- PHP program to reverse given number
- PHP program to reverse given string
- PHP program to swap two numbers with and without using third variable
- PHP program to find if the given year is leap year or not
- PHP program to display Text messages
- PHP program to print an array
- PHP program to print each element of an array
- PHP program to find number of elements in an array
- PHP program to sort elements in an array in ascending order
- PHP program to sort elements in an array in descending order
- PHP program to find the sum of elements in an array
- PHP program to find the product of elements in an array
- PHP program to split a string as array elements based on delimiter
- PHP program to combine the array elements into a string with given delimiter
- PHP program to join the array elements into a string
- PHP program to merge two arrays into a new array
- PHP program to remove the duplicated values from an array
- PHP program to create a Simple Calculator
- PHP program to create simple Login and Logout using sessions