What is PHP?
-PHP is Hypertext Preprocessor scripting language old name is Personal Home Page
-PHP is open-source, server-side scripting language to generate the dynamic web-pages
-PHP script executes on server and result send in the client browser
-PHP was written in C and designed by Rasmus Lerdorf in 1994
-PHP file have an extension of .php,.php3,.phtml
-System function perform i.e file on System it can create, open, read, write and close
-PHP can encrypt data
Advantages of PHP:
- Open-source
- Platform independence
- Simple and Easy
- Database
- Fast
- Support
- Maintenance
- Scripting language
Open-Source: PHP is an open-source language and free of cost which helps the developer to install easily quicky and readily available for use.
Platform Independence: It is supported by all Operating System like Windows, Linux,macOS, etc
Simple: In PHP command function can be easily learned and understood.
Database: It is easily connected to the database and makes connections securely with the database.
Fast: PHP is fasted programming language compared to other languages like c,c++, Java and HTML.
Support: New developer to help writing the code and developing web-application.
Maintenance: Web-application development easier and maintain code automatically.
Scripting Language: Scripting language is a programming language that supports scripts.
Syntax
- <?php
- //code
- ?>
Example:
- <html>
- <head>
- <title>cwipedia.in</title>
- </head>
- <body>
- <?php
- echo "Hello world"
- ?>
- </body>
- <html>
Solved Queries:
- What is PHP
- What is Full form of PHP
- State PHP
- Explain PHP with Example
- What is syntax of PHP
Comments
Post a Comment
If you have any query, please let us know