PHP_Chinese_Pinyin_Trans:PHP中文转拼音

时间:2021-05-23 23:55:45
【文件属性】:
文件名称:PHP_Chinese_Pinyin_Trans:PHP中文转拼音
文件大小:64KB
文件格式:ZIP
更新时间:2021-05-23 23:55:45
PHP #PHP中文转拼音 Usage require('Pinyin.class.php'); Pinyin::option( array('uppercase'=>false, 'only_first'=>false, 'delimter'=>'', 'first_upper'=>true, 'only_chinese'=>false) ); echo Pinyin::trans('*'); >>ZhongHuaRenMinGongHeGuo ###config uppercase 大写输出 only_first 只输出拼音首字母 delimter 连字符 first_upper 拼音首字母大写 only_chinese 忽略非中文字符 ###Copyrig
【文件预览】:
PHP_Chinese_Pinyin_Trans-master
----index.php(409B)
----README.md(608B)
----Pinyin.class.php(160KB)

网友评论