Install a server and PHP on your computer.
Run PHP on your computer
From the O'Reilly PHP Devcenter
PHP IDE for Windows.
Properly indents your code
Windows installer for Apache, MySQL, and PHP
Installer for Apache, MySQL, and PHP