PHP (Hypertext Preprocessor) is a widely-used open source general-purpose scripting language that is especially suited for web development and can be embedded into HTML.
The PHP code is enclosed in special start and end processing instructions <?php and ?> that allow you to jump into and out of “PHP mode.”
What distinguishes PHP from something like client-side JavaScript is that the code is executed on the server, generating HTML which is then sent to the client. The best things in using PHP are that it is extremely simple for a newcomer, but offers many advanced features for a professional programmer.
Don’t be afraid reading the long list of PHP’s features. You can jump in, in a short time, and start writing simple scripts in a few hours.
Although PHP’s development is focused on server-side scripting, you can do much more with it.
Let us know some of the features of PHP:
It is most popular and frequently used world wide scripting language, the main reason of popularity is; It is open source and very simple.
- Simple
- Faster
- Interpreted
- Open Source(use it for free, download it for free)
- Case Sensitive
- Simplicity
- Efficiency
- Platform Independent( run it on Linux, Unix, Mac OS X, Windows.)
- Security
- Flexibility
- Familiarity
- Error Reporting
- Loosely Typed Language
- Real-Time Access Monitoring
PHP is very simple and easy to use, compare to other scripting language. As It is an interpreted language, i.e. there is no need for compilation.
PHP tutorial:
- Install PHP
- Php examples
- PHP echo
- PHP Print
- PHP Variable
- php-dollar-doubledollar
- PHP Constants
- PHP Magic Constants
- PHP Data Types
- PHP Operators
- PHP Comments
- PHP Control Statement
- PHP If Else
- PHP Switch
- PHP For Loop
- PHP While Loop
- PHP Do While Loop
- PHP Break
- PHP Functions
- PHP Parameterized Function
- PHP Call By Value
- PHP Call By Reference
- PHP Default Arguments
- PHP Variable Arguments
- PHP Recursive Functions
- PHP Array
- PHP Indexed Array
- PHP Associative Array
- PHP Multidimensional Arrays
- PHP Array Functions
- PHP Strings
- PHP String Functions
- PHP Math Functions
- PHP Form Get And Set
- PHP Include require
- PHP Cookies
- PHP Session
- PHP File Handling
- PHP Open File
- PHP Read File
- PHP Write File
- PHP Append File
- PHP Delete File
- PHP File Upload
- PHP Download File
- PHP Mail
- PHP MySQLi Connect
- PHP MySQLi Create DB
- PHP MySQLi Create Table
- PHP MySQLi INSERT
- PHP MySQLi UPDATE
- PHP MySQLi DELETE
- PHP MySQLi SELECT
- PHP MySQLi Order By
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 for an Armstrong number
- PHP program to check for a Palindrome number
- PHP program to print fibonacci series
- PHP program to reverse a number
- PHP program to reverse a string
- PHP program to swap two numbers
- PHP program to check leap year
- PHP program to display Text messages
- PHP program to print an array
- PHP program to print each element of an array
- PHP program to count number of elements in an array
- PHP program to sort elements of an array in ascending order
- PHP program to sort elements of 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 duplicate values from an array
- PHP program to create a Simple Calculator
- PHP program to create Login and Logout using Sessions
- PHP examples programs with output