Getting started with PHP: Essential dev tools

First off, you need a PHP runtime. You can get this as part of an all-in-one package including a Web server, databasek, and the kitchen sink, such as XAMPP. But you don't need all that just to start fiddling around code examples.