Intro to PHP Language
PHP was developed by Rasmus Lerdorf in 1994. It started as a small open-source project and later found its utility. PHP stands for Hypertext Preprocessor, whose earlier name was Personal Home Pages/ Form Interpreter(PHP/FI). Let’s see a small intro to the PHP language
- PHP is embedded in HTML.
- It is an intuitive, server-side scripting language.
- It is an object-oriented, open-source language.
- PHP manages dynamic content, session tracking, and e-commerce sites.
- It is compatible with many popular databases like MySQL, PostgreSQL, Oracle, Sybase, Informix, and Microsoft SQL servers.
- PHP supports a large number of protocols like POP3, IMAP, and LDAP.
- PHp Syntax is like C language and added support for Java and distributed object architecture (COM and CORBA), making n-tier development a possibility for the first time.
- It allows setting and accessing cookies.
- It is easy to secure valid data from unauthorized users by PHP and encryption of web pages.
- One advantage of an interpreted language is that it allows making changes to source code and immediately testing these changes, without first needing to compile our source code into binary form. Skipping the compilation step makes the development process much faster, and PHP comes with built-in memory management and caching to negate the effect of the additional run-time load associated with using an interpreter.
- PHP is faster than other scripting languages ASP and JSP.