PHP Development Environment?

I've resisted becoming (or calling myself) a PHP developer now for 5 years, since 2006 when I got hooked on WP.

But, now in 2011, I'm finding myself knee-deep in PHP code day in and day out. So far, I've survived with Notepad2 (for PC), Textwrangler (for mac), WAMP/MAMP, Firebug, and Filezilla.

But it's a real drag when you need to test SQL strings and check variables mid-function.

Just wondering -- do you guys use a PHP development environment for your work, or is everything done in a text editor?

(EDIT: Just hit post #200 -- w00t!)