PHP is a widely used open-source general-purpose scripting language that is mainly suited for web development and can be embedded into HTML. It can also be used in combination with various web template systems, web content management systems, and web frameworks. Some of the most popular websites like Wikipedia, Yahoo, WordPress etc. are all based on PHP.

Features of PHP –

  • It provide cross platform compatibility
  • It includes variable variables. This means that the name of the variable can be changed dynamically.
  • It has pre-defined error reporting constants that generate a warning or error notice.
  • It supports extended regular expression that leads extensive pattern matching with remarkable speed.