Home  >  Article  >  Backend Development  >  The most complete PHP Chinese character to pinyin library (including rare characters)

The most complete PHP Chinese character to pinyin library (including rare characters)

WBOY
WBOYOriginal
2016-07-25 09:05:571711browse
The most complete PHP Chinese character to pinyin library (including rare characters)
  1. ?// http://127.0.0.1/index.php?py= Sui Fengyuyu
  2. require_once('pinyin_table.php');
  3. if (!empty( $_GET[' py'])){
  4. $title= get_pinyin_array($_GET['py']);
  5. echo $title[0];
  6. }
  7. ?>
Copy code


Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn