Adding a WordPress User via PHP

Occasionally it happens where we are inheriting a site developed by someone else where we have file system access, but not access to WordPress itself.  When this occurs, we can use PHP to create a new WordPress administrator account to let us into WordPress to take...