recent searches:
include functions ,
variable functions ,
post functions...
If you are new to PHP or just need to refresh your skills, this is the place to start. This series of tutorials will give you the basic knowledge you will need to create a simple PHP website.
PHP is a reflective programming language originally designed for producing dynamic web pages.[1] PHP is used mainly in server-side scripting, but can be used from a command line interface or in standalone graphical applications. Textual User Interfaces can also be created using ncurses.
(PHP 4 >= 4.0.6, PHP 5)
mb_convert_kana -- Convert "kana" one from another ("zen-kaku", "han-kaku" and more)
mb_convert_kana() performs "han-kaku" -
"zen-kaku" conversion for string str. It
returns converted string. This function is only useful for
Japanese.
option is conversion option. Default value
is "KV".
encoding is character encoding. If it is
omitted, internal character encoding is used.
Specify with combination of following options. Default value is KV.
Table 1. Applicable Conversion Options
| Option | Meaning |
|---|---|
| r | Convert "zen-kaku" alphabets to "han-kaku" |
| R | Convert "han-kaku" alphabets to "zen-kaku" |
| n | Convert "zen-kaku" numbers to "han-kaku" |
| N | Convert "han-kaku" numbers to "zen-kaku" |
| a | Convert "zen-kaku" alphabets and numbers to "han-kaku" |
| A | Convert "han-kaku" alphabets and numbers to "zen-kaku" (Characters included in "a", "A" options are U+0021 - U+007E excluding U+0022, U+0027, U+005C, U+007E) |
| s | Convert "zen-kaku" space to "han-kaku" (U+3000 -> U+0020) |
| S | Convert "han-kaku" space to "zen-kaku" (U+0020 -> U+3000) |
| k | Convert "zen-kaku kata-kana" to "han-kaku kata-kana" |
| K | Convert "han-kaku kata-kana" to "zen-kaku kata-kana" |
| h | Convert "zen-kaku hira-gana" to "han-kaku kata-kana" |
| H | Convert "han-kaku kata-kana" to "zen-kaku hira-gana" |
| c | Convert "zen-kaku kata-kana" to "zen-kaku hira-gana" |
| C | Convert "zen-kaku hira-gana" to "zen-kaku kata-kana" |
| V | Collapse voiced sound notation and convert them into a character. Use with "K","H" |
Another Useful functions:
function.mb-convert-variables | function.mb-convert-kana | function.mb-convert-encoding | function.mb-convert-case |
PHP is a widely-used general-purpose scripting language that is especially suited for Web development and can be embedded into HTML. If you are new to PHP and want to get some idea of how it works, try the introductory tutorial. After that, check out the online manual, and the example archive sites and some of the other resources available in the links section.