« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 40 for byte (0.001 sec.)
strrpos — 文字列中に、ある部分文字列が最後に現れる場所を探す | PHP 8.3 13464
strrpos (PHP 4, PHP 5, PHP 7, PHP 8) strrpos — 文字列中に、ある部分文字列が最後に現れる場所を探す 説明 function strrpos ( string $haystack , string $needle , int $offset = 0 ): int | false 文字列 haystack の中で、 needle が最後に現れる位置を ... つからない... } ?> 例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
ord — 文字列の先頭バイトを、0 から 255 までの値に変換する | PHP 8.3 13230
ord (PHP 4, PHP 5, PHP 7, PHP 8) ord — 文字列の先頭バイトを、0 から 255 までの値に変換する 説明 function ord ( string $character ): int character の先頭バイトのバイナリ値を、 0 から 255 までの符号なしの整数値として解釈します。 文字列が ASCI ... \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() ... :ord() - 文字に対応する Unicode コードポイントを返す 他のマニュアルの関連ページ Linux JM wctob(3) Linux JM unicode(7) Vim mbyte Linux JM btowc(3) Python 3.0 Linux JM charsets(7) ...
https://man.mtool.work/php/8.3/function.ord.html
The Yar Protocol | PHP 8.3 10531
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 service, without installing any framework at all — build one fixed ... 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 | PHP 8.3 9642
The MongoDB\BSON\ObjectId class (mongodb >=1.0.0) はじめに BSON type for an » ObjectId . The value consists 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 ...
https://man.mtool.work/php/8.3/class.mongodb-bson-objectid.html
xml_get_current_byte_index — XML パーサーのカレントのバイトインデックスを得る |... 9642
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 パーサーのカレントのバイト ...
https://man.mtool.work/php/8.3/function.xml-get-current-byte-index.html
MongoDB\Driver\ClientEncryption::createDataKey — Creates a key document | PHP 8... 9080
MongoDB\Driver\ClientEncryption::createDataKey (mongodb >=1.7.0) MongoDB\Driver\ClientEncryption::createDataKey — Creates a key document 説明 final public function MongoDB\Driver\ClientEncryption::createDataKey ( string $kmsProvider , ? arr ... cloudkms.googleapis.com". "kmip" provider options Option Type Description keyId string Optional. Unique identifier to a 96-byte KMIP secret data managed object. If unspecified, the driver creates a random 96-byte KMIP secret data managed object. endp ... ption may refer to the key by the unique alternate name instead of by _id . keyMaterial MongoDB\BSON\Binary An optional 96-byte value to use as custom key material for the data key being created. If keyMaterial is given, the custom key material is us ...
https://man.mtool.work/php/8.3/mongodb-driver-clientencryption.createdatakey.htm...
The MongoDB\BSON\Timestamp class | PHP 8.3 8628
The MongoDB\BSON\Timestamp class (mongodb >=1.0.0) はじめに Represents a » BSON timestamp , The value consists of a 4-byte timestamp (i.e. seconds since the epoch) and a 4-byte increment. 注意 : This is an internal MongoDB type used for rep ...
https://man.mtool.work/php/8.3/class.mongodb-bson-timestamp.html
image_type_to_mime_type — getimagesize, exif_read_data, exif_thumbnail, exif_im... 8284
image_type_to_mime_type (PHP 4 >= 4.3.0, PHP 5, PHP 7, PHP 8) image_type_to_mime_type — getimagesize, exif_read_data, exif_thumbnail, exif_imagetypeから返される 画像形式のMIMEタイプを取得する 説明 function image_type_to_mime_type ( int $ima ... e/png IMAGETYPE_SWF application/x-shockwave-flash IMAGETYPE_PSD image/psd IMAGETYPE_BMP image/bmp IMAGETYPE_TIFF_II (intel byte order) image/tiff IMAGETYPE_TIFF_MM (motorola byte order) image/tiff IMAGETYPE_JPC application/octet-stream IMAGETYPE_JP2 ...
https://man.mtool.work/php/8.3/function.image-type-to-mime-type.html
定義済み定数 | PHP 8.3 8175
定義済み定数 以下の定数が定義されています。 この関数の拡張モジュールが PHP 組み込みでコンパイルされているか、 実行時に動的にロードされている場合のみ使用可能です。 SQLSRV_FETCH_ASSOC ( int ) Forces sqlsrv_fetch_array() to return an associati ... or usage information, see » How to: Specify PHP Types . SQLSRV_ENC_BINARY ( int ) Specifies that data is returned as a raw byte stream from the server without performing encoding or translation. For usage information, see » How to: Specify PHP Types ... a is returned in 8-bit characters as specified in the code page of the Windows locale that is set on the system. Any multi-byte characters or characters that do not map into this code page are substituted with a single byte question mark (?) characte ... ibes the varbinary SQL Server data type. This constant works like a function and accepts a single parameter indicating the byte count. For usage information, see » How to: Specify SQL Types . SQLSRV_SQLTYPE_VARBINARY ('max') ( int ) Describes the var ...
https://man.mtool.work/php/8.3/sqlsrv.constants.html
exif_imagetype — 画像の種類を判別する | PHP 8.3 8066
exif_imagetype (PHP 4 >= 4.3.0, PHP 5, PHP 7, PHP 8) exif_imagetype — 画像の種類を判別する 説明 function exif_imagetype ( string $filename ): int | false exif_imagetype() は画像の先頭バイトを読み、 そのサインを調べます。 exif_imagetype() は ... IMAGETYPE_GIF 2 IMAGETYPE_JPEG 3 IMAGETYPE_PNG 4 IMAGETYPE_SWF 5 IMAGETYPE_PSD 6 IMAGETYPE_BMP 7 IMAGETYPE_TIFF_II (intel byte order) 8 IMAGETYPE_TIFF_MM (motorola byte order) 9 IMAGETYPE_JPC 10 IMAGETYPE_JP2 11 IMAGETYPE_JPX 12 IMAGETYPE_JB2 13 IMA ...
https://man.mtool.work/php/8.3/function.exif-imagetype.html
PREV 1 2 3 4 NEXT