An Introduction to PHPMarch 8, 2008 – 2:42 PM
This article introduces you to PHP. You will learn how it came about, what it looks like, and why it is the best server-side technology. It also exposes the most important features of the language.
PHP began as a simple macro replacement tool. Like a nice pair of shoes, it got you where you needed to go, but you could go only so far. On the hyperspeed development track of the Internet, PHP has become the equivalent of a 1960s muscle car. It’s cheap, it’s fast, and there’s plenty of room under the hood for you and your virtual wrench.
This article lets you poke around the PHP engine, get your hands a little dirty, and take it for a spin. There are lots of small examples you can try immediately. Like all the examples in this article, you can easily adapt them to provide real solutions. Don’t be intimidated if you don’t fully understand the PHP code at first. Later articles deal with all the issues in detail.