PHP Chinese characters to pinyin, supports multi-phonetic character codes, PHP Chinese characters to pinyin codes, very complete, very accurate PHP Chinese to pinyin class, can be directly connected to your program development, it is worth learning and reference.
Download link:
http://mobansu.com/yuan/79.html