HMAC Hashing for API Message Authentication

As I have a related issue here (Flickr API: Need help with "the hard way") a PHP compatible solution would be nice. In PHP, you have a fourth parameter (bool) which switches the output from raw binary data to lowercase hexits: PHP: hash_hmac - Manual