There’re many useful plug-ins for Eclipse. You can find them easily by a search engine. Here’re some screenshots of a PHP plug-in for Eclipse I’m using.
Editing the php files
Running as script
Running in the internal webserver
Working with MySQL Control Center