PHP中文转拼音

网上大都讲的,都不支持繁体字,毕竟就是一个函数解决的事。

推荐一个很好的扩展,github地址: https://github.com/overtrue/pinyin

怎么用,自己去看就行了。