PHP Tutorials
The term PHP is an acronym for PHP: Hypertext Preprocessor. PHP is a server-side scripting language designed specifically for web development. PHP can be easily embedded in HTML files and HTML codes can also be written in a PHP file. The thing that differentiates PHP from a client-side language like HTML is, PHP codes are executed on the server whereas HTML codes are directly rendered on the browser.
Example: It is a simple PHP program to print “Hello world!” message on the screen.
PHP
<?php /* echo is a print command */ echo "Hello world!"; ?>
Output:
Hello world!
Why we learn PHP?
PHP is one of the widely used open-source general-purpose scripting languages for Web Development. Apart from this, let’s see why we should learn it.
- Easy to Learn: PHP is easier to learn for anyone who has come across to any programming language for the first time.
- Free of Cost: Since PHP is open-source language, therefore developers are allowed to use its components and all methods for free.
- Flexible: Since PHP is a dynamically typed language, therefore there are no hard rules on how to build features using it.
- Supports nearly all databases : PHP supports all the widely used databases, including MySQL, ODBC, SQLite etc.
- Secured: PHP provides us a secure platform for developing websites as it has multiple security levels.
- Huge Community Support: PHP is loved and used by a huge number of developers who love to share their knowledge with other people of the community who want to know about PHP.
Learn more about PHP:
PHP Functions Complete References:
- PHP array Functions Complete Reference
- PHP String Functions Complete Reference
- PHP Math Functions Complete Reference
- PHP GMP Functions Complete Reference
- PHP Calendar Functions Complete Reference
- PHP IntlChar Functions Complete Reference
- PHP Imagick Functions Complete Reference
- PHP Gmagick Functions Complete Reference
- PHP ImagickDraw Functions Complete Reference
- PHP Image Processing and GD Functions Complete Reference
- PHP SPL Data structures Complete Reference
- PHP DS\Sequence Functions Complete Reference
- PHP DS\Vector Functions Complete Reference
- PHP Ds\Deque Functions Complete Reference
- PHP Ds\Map Functions Complete Reference
- PHP Ds\Set Functions Complete Reference
- PHP Ds\Stack Functions Complete Reference
- PHP Ds\Queue Functions Complete Reference
- PHP Ds\PriorityQueue Functions Complete Reference
- PHP Filesystem Functions Complete Reference
Please write comments if you find anything incorrect, or you want to share more information about the topic discussed above.