Results of 1 - 6 of about 6 for pe (0.006 sec.)
- IntlChar クラス | PHP 8.3 12832
- IntlChar クラス (PHP 7, PHP 8) はじめに IntlChar クラスは、 Unicode 文字に関する情報にアクセスするための、 たくさんの便利メソッドを提供しています。 このクラスのメソッドと定数は、 依存している ICU ライブラリで使われている名前や振る舞いにとて
... ublic const int CODEPOINT_MIN ; public const int CODEPOINT_MAX ; public const float NO_NUMERIC_VALUE ; public const int PROPERTY_ALPHABETIC ; public const int PROPERTY_BINARY_START ; public const int PROPERTY_ASCII_HEX_DIGIT ; public const int PROP ... ERTY_BIDI_CONTROL ; public const int PROPERTY_BIDI_MIRRORED ; public const int PROPERTY_DASH ; public const int PROPERTY_DEFAULT_IGNORABLE_CODE_POINT ; public const ... int PROPERTY_DEPRECATED ; public const int PROPERTY_DIACRITIC ; public const int PROPERTY_EXTENDER ; public const int PROPERTY_FULL_ ...
-
https://man.mtool.work/php/8.3/class.intlchar.html
- SplFileObject::fscanf — フォーマットに従ってファイルからの入力をパースする | PH... 9541
- SplFileObject::fscanf (PHP 5 >= 5.1.0, PHP 7, PHP 8) SplFileObject::fscanf — フォーマットに従ってファイルからの入力をパースする 説明 public function SplFileObject::fscanf ( string $format , mixed &...$vars ): array | int | null ファイルから
... ession , $countrycode ) = $userinfo ; // $name $profession $countrycode で何かを行う } ?> users.txt の内容 javier argonaut pe hiroshi sculptor jp robert slacker us luigi florist it 参考 fscanf() - フォーマットに基づきファイルからの入力を処理する ss ...
-
https://man.mtool.work/php/8.3/splfileobject.fscanf.html
- fscanf — フォーマットに基づきファイルからの入力を処理する | PHP 8.3 8719
- fscanf (PHP 4 >= 4.0.1, PHP 5, PHP 7, PHP 8) fscanf — フォーマットに基づきファイルからの入力を処理する 説明 function fscanf ( resource $stream , string $format , mixed &...$vars ): array | int | false | null 関数 fscanf() は sscanf() に似て
... 個にマッチしてしまうことを意味します。 fscanf() をコールするたびに、ファイルから 1 行ずつ読み込みます。 パラメータ stream fopen() を使用して作成したファイルシステムポインタリソース。 format string を解釈するフォーマット。 sprintf() のドキュメントにあ ... がパースされる前に stream から読み込んだ入力の終端に達した場合は、 -1 が返されます。 例 例1 fscanf() の例 <?php $handle = fopen ( "users.txt" , "r" ); while ( $userinfo = fscanf ( $handle , "%s\t%s\t%s\n" )) { list ( $name , $profession , $countryco ... de ) = $userinfo ; //... これらの値を使用して何か行う } fclose ( $handle ); ?> 例2 users.txt の内容 javier argonaut pe hiroshi sculptor jp robert slacker us luigi florist it 参考 fread() - バイナリセーフなファイルの読み込み fgets() - ファイル ...
-
https://man.mtool.work/php/8.3/function.fscanf.html
- Parle pattern matching | PHP 8.3 8719
- Parle pattern matching Parle supports regex matching similar to flex. Also supported are the following POSIX character sets: [:alnum:] , [:alpha:] , [:blank:] , [:cntrl:] , [:digit:] , [:graph:] , [:lower:] , [:print:] , [:punct:] , [:space
... :] , [:upper:] , [:xdigit:] . The Unicode character classes are currently not enabled by default, pass --enable-parle-utf32 to make th ... em available. A particular encoding can be mapped with a correctly constructed regex. For example, to match the EURO symbol encoded in UTF-8, the regular expression [\xe2] ... \x1b. \n Newline. \r Carriage return. \f Form feed, \x0c. \t Horizontal tab, \x09. \v Vertical tab, \x0b. \oct Character specified by a three-digit octal code. \xhex Character specified by a hex code. \cchar Named control character. Character clas ...
-
https://man.mtool.work/php/8.3/parle.pattern.matching.html
- substr — 文字列の一部分を返す | PHP 8.3 7896
- substr (PHP 4, PHP 5, PHP 7, PHP 8) substr — 文字列の一部分を返す 説明 function substr ( string $string , int $offset , ? int $length = null ): string 文字列 string の、 offset で指定された位置から length バイト分の文字列を返します。 パラメ
... から始まる文字列となります。 string の長さが offset 文字より短い場合は、 空の文字列が返されます。 例1 負の offset の使用 <?php echo substr ( "abcdef" , - 1 ), PHP_EOL ; // "f" を返す echo substr ( "abcdef" , - 2 ), PHP_EOL ; // "ef" を返す echo subst ... を省略した場合、または null の場合は、 offset の位置から文字列の最後までの部分文字列を返します。 例2 負の length の使用 <?php echo substr ( "abcdef" , 0 , - 1 ), PHP_EOL ; // "abcde" を返す echo substr ( "abcdef" , 2 , - 1 ), PHP_EOL ; // "cde" を返 ... .0 この関数は、前のバージョンで false を返す場合に、空文字列を返すようになりました。 例 例3 基本的な substr() の使用法 <?php echo substr ( 'abcdef' , 1 ), PHP_EOL ; // bcdef echo substr ( "abcdef" , 1 , null ), PHP_EOL ; // bcdef; PHP 8.0.0 より前の ...
-
https://man.mtool.work/php/8.3/function.substr.html
- Unicode 文字プロパティ | PHP 8.3 7074
- Unicode 文字プロパティ PHP 5.1.0 以降、 UTF-8 モード を設定した場合に、 一般的な文字タイプにマッチする新たなエスケープシーケンスが 3 つ追加されました。 \p{xx} xx プロパティを持つ文字 \P{xx} xx プロパティを持たない文字 \X 拡張 Unicode シーケ
... ンス ここで xx で表されているプロパティ名は、Unicode で 一般カテゴリプロパティ (general category properties) として規定されているものに なります。すべての文字は、いずれかひとつのプロパティを持ちます。 プロパティは、2 文字の略 ... 語で表されます。Perl と同じく、 開き波カッコとプロパティ名との間にハット文字を記述することで否定を指定できます。 たとえば、 \p{^Lu} は \P{Lu} ... m 擬似文字 (Modifier letter) Lo その他の文字 (Other letter) Lt タイトル文字 (Title case letter) Lu 大文字アルファベット (Upper case letter) M 記号 (Mark) Mc 修飾文字 (Spacing mark) Me 他の文字を囲むための文字 (Enclosing mark) Mn 他の文字を修飾するた ...
-
https://man.mtool.work/php/8.3/regexp.reference.unicode.html
PREV
1
NEXT