php 获取文字首字母(包含生僻字)

参考demo:

https://github.com/chenxingrui11/pinyin  获取文字首字母(包含生僻字) 

原文地址:https://www.cnblogs.com/chenxingrui/p/3868423.html