>>9
I don't know of anything for PHP, and any solution is going to be limited to a specific piece of captcha software, but here's a greasemonkey script for decoding megauploads captchas that works pretty good
[1], you could also check out this
[2], but I can't vouch for it.
--
1. http://herecomethelizards.co.uk/mu_captcha/
2. http://caca.zoy.org/wiki/PWNtcha