What is php?

1) PHP (Hypertext Prerprocessor) is a widely used open source.  2) It is general purpose scripting language that is especially suited for web developments and it can be embedded into HTML.

What is php?
What is php?

What is PHP ?    

1) PHP (Hypertext Prerprocessor) is a widely used open source.

2) It is general purpose scripting language that is especially suited for web developments and it can be embedded into HTML.


An Introductory Example of PHP:

<!DOCTYPE html>
<html>
<body>

echo "My first PHP script!";
?>


</body>
</html>

Introduction:

It is a server scripting language, and a powerful tool for making dynamic and interactive Web pages.

And it is a widely-used, free, and efficient alternative to competitors such as Microsoft's ASP.

PHP 7 is the latest stable release.

PHP code is executed on the server.

What You Should Already Know

Basic understanding of the following:

  • HTML
  • CSS
  • JavaScript

It is an amazing and popular language!

What is a PHP File?

  • It contains text, HTML, CSS, JavaScript, and PHP code
  • Its code is executed on the server, and the result is returned to the browser as plain HTML
  • Extention used for PHP files ".php".

What Can PHP Do?

  • It can create or generate dynamic page content.
  • It can create, read, open, write, delete,and close on the server.
  • It can collect form data.
  • It can send and receive cookies
  • It can add, delete, modify data in your database
  • It can be used to control user-access
  • It can encrypt data

Why PHP?

  • PHP supports various platforms or runs on various platforms(Linux,Unix, Mac OS etc)
  • also it is compatible with almost all servers (Apache, IIS, etc)
  • It supports wide range of database.
  • It is free to download. 
  • Download it from the official PHP resource: www.php.net
  • It is easy to learn and runs efficiently on the server side

What's new in PHP 7

  • It is much faster than the previous popular stable release (PHP 5.6)
  • It has improved Error Handling
  • It supports stricter Type Declarations for function arguments
  • It supports new operators (like the spaceship operator: <=> )

What's Your Reaction?

like
2
dislike
0
love
1
funny
0
angry
0
sad
0
wow
0