« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 6 of about 6 for charName (0.002 sec.)
IntlChar::charName — Unicode 文字の名前を取得する | PHP 8.3 13197
IntlChar::charName (PHP 7, PHP 8) IntlChar::charName — Unicode 文字の名前を取得する 説明 public static function IntlChar::charName ( int | string $codepoint , int $type = IntlChar::UNICODE_CHAR_NAME ): ? string Unicode 文字の名前を取得します ... ます。 コードポイントが存在しない場合は、 null を返します。 例 例1 さまざまなコードポイントの例 <?php var_dump ( IntlChar :: charName ( "." )); var_dump ( IntlChar :: charName ( "." , IntlChar :: UNICODE_CHAR_NAME )); var_dump ( IntlChar :: charName ( "\u{ ... 2603}" )); var_dump ( IntlChar :: charName ( "\u{0000}" )); ?> 上の例の出力は以下となります。 string(9) "FULL STOP" string(9) "FULL STOP" string(7) "SNOWMAN" string( ... 0) "" 参考 IntlChar::charFromName() - 名前で Unicode 文字を探し、コードポイントの値を返す IntlChar::enumCharNames() - 指定された範囲の全てのUnicode文字を走査する 他のマニュアルの関連ページ Linux JM unicode(7) Python html.entities Linux ...
https://man.mtool.work/php/8.3/intlchar.charname.html
IntlChar::charFromName — 名前で Unicode 文字を探し、コードポイントの値を返す | ... 8627
IntlChar::charFromName (PHP 7, PHP 8) IntlChar::charFromName — 名前で Unicode 文字を探し、コードポイントの値を返す 説明 public static function IntlChar::charFromName ( string $name , int $type = IntlChar::UNICODE_CHAR_NAME ): ? int 名前で U ... ntlChar :: EXTENDED_CHAR_NAME )); ?> 上の例の出力は以下となります。 int(65) int(9731) int(9843) NULL int(8) 参考 IntlChar::charName() - Unicode 文字の名前を取得する IntlChar::enumCharNames() - 指定された範囲の全てのUnicode文字を走査する 他のマニュアルの関 ...
https://man.mtool.work/php/8.3/intlchar.charfromname.html
IntlChar::enumCharNames — 指定された範囲の全てのUnicode文字を走査する | PHP 8.3 8554
IntlChar::enumCharNames (PHP 7, PHP 8) IntlChar::enumCharNames — 指定された範囲の全てのUnicode文字を走査する 説明 public static function IntlChar::enumCharNames ( int | string $start , int | string $end , callable $callback , int $type = In ... れより前のバージョンでは null を返していました。 例 例1 サンプルの範囲に入るコードポイントを走査する例 <?php IntlChar :: enumCharNames ( 0x2600 , 0x2610 , function( $codepoint , $nameChoice , $name ) { printf ( "U+%04x %s\n" , $codepoint , $name ); }); ?> ... E U+260b DESCENDING NODE U+260c CONJUNCTION U+260d OPPOSITION U+260e BLACK TELEPHONE U+260f WHITE TELEPHONE 参考 IntlChar::charName() - Unicode 文字の名前を取得する IntlChar::charFromName() - 名前で Unicode 文字を探し、コードポイントの値を返す 他のマニュ ...
https://man.mtool.work/php/8.3/intlchar.enumcharnames.html
IntlChar クラス | PHP 8.3 8225
IntlChar クラス (PHP 7, PHP 8) はじめに IntlChar クラスは、 Unicode 文字に関する情報にアクセスするための、 たくさんの便利メソッドを提供しています。 このクラスのメソッドと定数は、 依存している ICU ライブラリで使われている名前や振る舞いにとて ... AR_NAME ): ? int public static function charMirror ( int | string $codepoint ): int | string | null public static function charName ( int | string $codepoint , int $type = IntlChar::UNICODE_CHAR_NAME ): ? string public static function charType ( int | st ... g public static function digit ( int | string $codepoint , int $base = 10 ): int | false | null public static function enumCharNames ( int | string $start , int | string $end , callable $callback , int $type = IntlChar::UNICODE_CHAR_NAME ): bool public s ... 名前で Unicode 文字を探し、コードポイントの値を返す IntlChar::charMirror — コードポイントの "鏡文字" を取得する IntlChar::charName — Unicode 文字の名前を取得する IntlChar::charType — コードポイントの一般カテゴリの値を取得する IntlChar::chr — コードポイン ...
https://man.mtool.work/php/8.3/class.intlchar.html
新機能 | PHP 8.3 8134
新機能 スカラー型宣言 スカラー 型宣言 には二つの方式があります。デフォルトの自動変換(coercive) モードと、 厳密に判断する strict モードです。 パラメータとして、 文字列 ( string )、整数 ( int )、浮動小数点数 ( float )、boolean ( bool ) といっ ... れており、 これらを使って Unicode の文字を操作できます。 <?php printf ( '%x' , IntlChar :: CODEPOINT_MAX ); echo IntlChar :: charName ( '@' ); var_dump ( IntlChar :: ispunct ( '!' )); 上の例の出力は以下となります。 10ffff COMMERCIAL AT bool(true) このクラス ...
https://man.mtool.work/php/8.3/migration70.new-features.html
国際化関数 | PHP 8.3 8061
国際化関数 はじめに 国際化用拡張モジュール (これ以降では Intl と略します) は » ICU ライブラリのラッパーです。 PHP プログラマが、ロケール関連のさまざまな操作を行えるようにします。 フォーマット、音訳、エンコード変換、カレンダーの処理、 » UCA ... 名前で Unicode 文字を探し、コードポイントの値を返す IntlChar::charMirror — コードポイントの "鏡文字" を取得する IntlChar::charName — Unicode 文字の名前を取得する IntlChar::charType — コードポイントの一般カテゴリの値を取得する IntlChar::chr — コードポイン ... ト値に対応する、Unicode 文字を返す IntlChar::digit — コードポイントの10進の数値を、指定された基数で返す IntlChar::enumCharNames — 指定された範囲の全てのUnicode文字を走査する IntlChar::enumCharTypes — Unicode の一般カテゴリの情報付きで、全てのコードポ ...
https://man.mtool.work/php/8.3/book.intl.html
PREV 1 NEXT