PHP is an open-source, general-purpose, server-side scripting language used in web development. It can be embedded directly into HTML which allows developers to create dynamic web pages with ease. Created in 1994 as a set of Common Gateway Interface scripts, Rasmus Lerdorf used PHP to track visitors to his personal website. He later developed it into a language used for web development.