« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 87 for byte (0.005 sec.)
文字列の先頭バイトを、0 から 255 までの値に変換する 11625
« number_format parse_str » PHP Manual String 関数 文字列の先頭バイトを、0 から 255 までの値に変換する 検索 ord (PHP 4, PHP 5, PHP 7, PHP 8) ord — 文字列の先頭バイトを、0 から 255 までの値に変換する 説明 function ord ( string $character ): ... \n" ; } ?> 例2 UTF-8 の文字列をバイト単位で調べる <?php $str = "?" ; for ( $pos = 0 ; $pos < strlen ( $str ); $pos ++ ) { $byte = substr ( $str , $pos ); echo 'Byte ' . $pos . ' of $str has value ' . ord ( $byte ) . PHP_EOL ; } ?> 上の例の出力は以下と ... なります。 Byte 0 of $str has value 240 Byte 1 of $str has value 159 Byte 2 of $str has value 144 Byte 3 of $str has value 152 参考 chr() ... コードポイントを取得する IntlChar::ord() - 文字に対応する Unicode コードポイントを返す 関連キーワード: str バイト ord pos Byte value 変換 character エンコーディング Unicode コード ポイント 整数 シングル chr php echo byte number format ...
https://man.mtool.work/php/8.3/function.ord.html
文字列の先頭バイトを、0 から 255 までの値に変換する 11545
« number_format parse_str » PHP Manual String 関数 文字列の先頭バイトを、0 から 255 までの値に変換する 検索 ord (PHP 4, PHP 5, PHP 7, PHP 8) ord — 文字列の先頭バイトを、0 から 255 までの値に変換する 説明 function ord ( string $character ): ... \n" ; } ?> 例2 UTF-8 の文字列をバイト単位で調べる <?php $str = "?" ; for ( $pos = 0 ; $pos < strlen ( $str ); $pos ++ ) { $byte = substr ( $str , $pos ); echo 'Byte ' . $pos . ' of $str has value ' . ord ( $byte ) . PHP_EOL ; } ?> 上の例の出力は以下と ... なります。 Byte 0 of $str has value 240 Byte 1 of $str has value 159 Byte 2 of $str has value 144 Byte 3 of $str has value 152 参考 chr() ... 文字の Unicode コードポイントを取得する IntlChar::ord() - 文字に対応する Unicode コードポイントを返す 関連キーワード: バイト Byte character エンコーディング Unicode コード ポイント 整数 シングル byte number format parse バイナリ 符号 解釈 Windows セット ...
https://man.mtool.work/php/8.3/function.ord.html
文字列中に、ある部分文字列が最後に現れる場所を探す 10980
« strripos strspn » PHP Manual String 関数 文字列中に、ある部分文字列が最後に現れる場所を探す 検索 strrpos (PHP 4, PHP 5, PHP 7, PHP 8) strrpos — 文字列中に、ある部分文字列が最後に現れる場所を探す 説明 function strrpos ( string $haystack , ... つからない... } ?> 例2 オフセットつきの検索 <?php $foo = "0123456789a123456789b123456789c" ; // Looking for '0' from the 0th byte (from the beginning) var_dump ( strrpos ( $foo , '0' , 0 )); // Looking for '0' from the 1st byte (after byte "0") var_dum ... p ( strrpos ( $foo , '0' , 1 )); // Looking for '7' from the 21th byte (after byte 20) var_dump ( strrpos ( $foo , '7' , 20 )); // Looking for '7' from the 29th byte (after byte 28) var_dump ( ... strrpos ( $foo , '7' , 28 )); // Looking for '7' right to left from the 5th byte from the end var_dump ( strrpos ( $foo , '7' , - 5 )); // Looking for 'c' right to left from the 2nd byte from the end var ...
https://man.mtool.work/php/8.3/function.strrpos.html
文字列中に、ある部分文字列が最後に現れる場所を探す 10980
« strripos strspn » PHP Manual String 関数 文字列中に、ある部分文字列が最後に現れる場所を探す 検索 strrpos (PHP 4, PHP 5, PHP 7, PHP 8) strrpos — 文字列中に、ある部分文字列が最後に現れる場所を探す 説明 function strrpos ( string $haystack , ... つからない... } ?> 例2 オフセットつきの検索 <?php $foo = "0123456789a123456789b123456789c" ; // Looking for '0' from the 0th byte (from the beginning) var_dump ( strrpos ( $foo , '0' , 0 )); // Looking for '0' from the 1st byte (after byte "0") var_dum ... p ( strrpos ( $foo , '0' , 1 )); // Looking for '7' from the 21th byte (after byte 20) var_dump ( strrpos ( $foo , '7' , 20 )); // Looking for '7' from the 29th byte (after byte 28) var_dump ( ... strrpos ( $foo , '7' , 28 )); // Looking for '7' right to left from the 5th byte from the end var_dump ( strrpos ( $foo , '7' , - 5 )); // Looking for 'c' right to left from the 2nd byte from the end var ...
https://man.mtool.work/php/8.3/function.strrpos.html
The Yar Protocol 9085
« Yar インストール/設定 » PHP Manual Yar The Yar Protocol 検索 The Yar Protocol Yar does not rely on a schema or IDL file: everything is exchanged on the wire as plain bytes. Any language that can read and write bytes can speak to a Yar ser ... erialized request body, send them to the service URI, and parse the reply. A message consists of a fixed-size header of 82 bytes followed by a body. The header is laid out exactly like the following C structure, packed with no padding, and is written ... tifier */ } __attribute__ ((packed)) yar_header_t; The id , magic_num , reserved and body_len fields are stored in network byte order (big-endian); the remaining fields are raw bytes. The body starts with an 8-byte packager identifier — PHP , JSON or ... " => 1 , "m" => "add" , "p" => array( 1 , 2 ))); $body = str_pad ( "PHP" , 8 , "\0" ) . $serialized ; /* 2. the header: 82 bytes, multi-byte integers in network byte order */ $header = pack ( "N" , 1 ) /* id */ . pack ( "v" , 0 ) /* version */ . pack ...
https://man.mtool.work/php/8.3/yar.protocol.html
The Yar Protocol 9085
« Yar インストール/設定 » PHP Manual Yar The Yar Protocol 検索 The Yar Protocol Yar does not rely on a schema or IDL file: everything is exchanged on the wire as plain bytes. Any language that can read and write bytes can speak to a Yar ser ... erialized request body, send them to the service URI, and parse the reply. A message consists of a fixed-size header of 82 bytes followed by a body. The header is laid out exactly like the following C structure, packed with no padding, and is written ... tifier */ } __attribute__ ((packed)) yar_header_t; The id , magic_num , reserved and body_len fields are stored in network byte order (big-endian); the remaining fields are raw bytes. The body starts with an 8-byte packager identifier — PHP , JSON or ... " => 1 , "m" => "add" , "p" => array( 1 , 2 ))); $body = str_pad ( "PHP" , 8 , "\0" ) . $serialized ; /* 2. the header: 82 bytes, multi-byte integers in network byte order */ $header = pack ( "N" , 1 ) /* id */ . pack ( "v" , 0 ) /* version */ . pack ...
https://man.mtool.work/php/8.3/yar.protocol.html
The MongoDB\BSON\ObjectId class 8601
« MongoDB\BSON\MinKey::jsonSerialize MongoDB\BSON\ObjectId::__construct » PHP Manual MongoDB\BSON The MongoDB\BSON\ObjectId class 検索 The MongoDB\BSON\ObjectId class (mongodb >=1.0.0) はじめに BSON type for an » ObjectId . The value consis ... ts of 12 bytes, where the first four bytes are a timestamp that reflect the ObjectId's creation. Specifically, the value consists of: a ... 4-byte value representing the seconds since the Unix epoch, a 5-byte random number unique to a machine and process, and a 3-byte ... his ObjectId 関連キーワード: ObjectId MongoDB id class mongodb field final value function jsonSerialize construct creation byte getTimestamp Implements Returns consists bytes timestamp random ...
https://man.mtool.work/php/8.3/class.mongodb-bson-objectid.html
XML パーサーのカレントのバイトインデックスを得る 8521
« xml_error_string xml_get_current_column_number » PHP Manual XML パーサー 関数 XML パーサーのカレントのバイトインデックスを得る 検索 xml_get_current_byte_index (PHP 4, PHP 5, PHP 7, PHP 8) xml_get_current_byte_index — XML パーサーのカレント ... のバイトインデックスを得る 説明 function xml_get_current_byte_index ( XMLParser $parser ): int 指定した XML パーサーのカレントのバイトインデックスを取得します。 パラメータ parser バイト ... mber() - XML パーサーのカレントの行番号を得る 関連キーワード: パーサー xml バイト インデックス カレント get current number byte index parser column XMLParser バージョン 期待 error string Search function int ...
https://man.mtool.work/php/8.3/function.xml-get-current-byte-index.html
The MongoDB\BSON\ObjectId class 8521
« MongoDB\BSON\MinKey::jsonSerialize MongoDB\BSON\ObjectId::__construct » PHP Manual MongoDB\BSON The MongoDB\BSON\ObjectId class 検索 The MongoDB\BSON\ObjectId class (mongodb >=1.0.0) はじめに BSON type for an » ObjectId . The value consis ... ts of 12 bytes, where the first four bytes are a timestamp that reflect the ObjectId's creation. Specifically, the value consists of: a ... 4-byte value representing the seconds since the Unix epoch, a 5-byte random number unique to a machine and process, and a 3-byte ... exadecimal representation of this ObjectId 関連キーワード: ObjectId MongoDB mongodb final jsonSerialize construct creation byte getTimestamp Implements consists bytes timestamp random unique document time implements ObjectIdInterface JsonSerializable ...
https://man.mtool.work/php/8.3/class.mongodb-bson-objectid.html
XML パーサーのカレントのバイトインデックスを得る 8440
« xml_error_string xml_get_current_column_number » PHP Manual XML パーサー 関数 XML パーサーのカレントのバイトインデックスを得る 検索 xml_get_current_byte_index (PHP 4, PHP 5, PHP 7, PHP 8) xml_get_current_byte_index — XML パーサーのカレント ... のバイトインデックスを得る 説明 function xml_get_current_byte_index ( XMLParser $parser ): int 指定した XML パーサーのカレントのバイトインデックスを取得します。 パラメータ parser バイト ... _line_number() - XML パーサーのカレントの行番号を得る 関連キーワード: パーサー バイト インデックス カレント current number byte index parser column XMLParser 期待 リファレンス バッファ 処理中 履歴 インスタンス resource エンコード テキスト エンコーディ ...
https://man.mtool.work/php/8.3/function.xml-get-current-byte-index.html
PREV 1 2 3 4 5 6 7 8 9 NEXT