Yeah, the MAMP option would work, and may be easier in some respects as it includes everything in a self-contained package. MAMP also gives you easy options to choose/switch between PHP 4 & 5, and Apache 1.x & 2.x if you want/need to.
However, all OSX Macs come with Apache (web server) and PHP pre-installed, but disabled. Just enable Personal Web Sharing in System Preferences/Sharing/Services to start up Apache, and you need to uncomment a couple of lines in the Apache httpd.conf file to enable PHP. You'll then be able to access .html and .php files through your web browser using localhost as the server name.
The default file path for the main system wide web root folder (where you want to put your html/php files) is: /System/Library/WebServer/Documents/
Access html/php files there through your browser using: hxxp://localhost/ - will default to look for index.html (or .php) in the folder path above.
Each user account on your Mac will have it's own, more private web root folder too - the Sites folder in the users Home folder. The path to that is: /Users/USERNAME/Sites/
Access html/php files there through your browser using: hxxp://localhost/~USERNAME/
You can add any files or sub-folders under either of those web root folders and access them through your web browser just like any other web server e.g. for Wordpress or other PHP applications. Effectively you have your own web server with this set up (or with MAMP) and are the System Admin with full access to everything.
For databases, MySQL is not included as standard with Mac OSX, but you can download installable binaries (.dmg package) from the MySQL site. Installation is pretty simple, but it may take some fiddling about to get it all working.
MySQL is included in the MAMP package, so that may be the easier option if you've never done this before, or if you don't want to risk screwing anything up. The web root folder will be different from those above with MAMP too.
I've got a development environment with the default Apache and PHP plus MySQL running on my Mac and it works great. Have Wordpress installed too for messing about with templates and plugins.
As others have said, if that all sounds too much, just use a remotely hosted spare domain or sub-folder for testing Wordpress or stuff.