現在の位置: ホーム> 関数カテゴリ一覧> localeconv

localeconv

デジタル形式の情報を取得します
名前:localeconv
カテゴリ:
対応言語:php
一言説明:ローカルデジタルおよび通貨形式の情報を返します。

米国でデジタルフォーマット情報を見つける:

 <span class="token php language-php"><span class="token delimiter important"><?php</span>
<span class="token function">setlocale</span> <span class="token punctuation">(</span> <span class="token constant">lc_all</span> <span class="token punctuation">、</span> <span class="token string double-quoted-string">"us"</span> <span class="token punctuation">)</span> <span class="token punctuation">;</span>
<span class="token variable">$ locale_info</span> <span class="token operator">=</span> <span class="token function">localeconv</span> <span class="token punctuation">(</span> <span class="token punctuation">)</span> <span class="token punctuation">;</span>
<span class="token function">print_r</span> <span class="token punctuation">(</span> <span class="token variable">$ locale_info</span> <span class="token punctuation">)</span> <span class="token punctuation">;</span>
<span class="token delimiter important">?></span></span>

自分で試してみてください

類似の関数
  • メタカラクターセットを脱出します quotemeta

    quotemeta

    メタカラクターセットを脱出します
  • 16進数文字列をバイナリ文字列に変換します hex2bin

    hex2bin

    16進数文字列をバイナリ文字列に変換しま
  • 千個のセパレーターの数字をフォーマットします number_format

    number_format

    千個のセパレーターの数字をフォーマットし
  • 特別なHTMLエンティティを通常の文字に戻します htmlspecialchars_decode

    htmlspecialchars_decode

    特別なHTMLエンティティを通常の文字に
  • ナチュラルオーダーアルゴリズムを使用して文字列を比較する(ケースの非感受性) strnatcasecmp

    strnatcasecmp

    ナチュラルオーダーアルゴリズムを使用して
  • キャラクターをあるキリル文字から別のキャラクターに変換します convert_cyr_string

    convert_cyr_string

    キャラクターをあるキリル文字から別のキャ
  • ロケール設定に基づく文字列の比較 strcoll

    strcoll

    ロケール設定に基づく文字列の比較
  • 文字列内の各単語の最初の文字を大文字に変換します ucwords

    ucwords

    文字列内の各単語の最初の文字を大文字に変
人気記事(にんききじ)