Hanyu Pinyin object implemented in PHP. Requires 5.2.0 or better.