You'll need a webserver to run the code on (either on your own machine or a hosting service). As php is plain text you can use anything to edit it (right down to the DOS EDIT command), I tend to use notepad, but there are a few editors out there with syntax highlighting you might prefer (I can't remember them off-hand unfortunately).