« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 174 for bytes (0.003 sec.)
EventBuffer::copyout — Copies out specified number of bytes from the front of t... 10912
EventBuffer::copyout (PECL event >= 1.2.6-beta) EventBuffer::copyout — Copies out specified number of bytes from the front of the buffer 説明 public function EventBuffer::copyout ( string &$data , int $max_bytes ): int Behaves just like Eve ... ntBuffer::read() , but does not drain any data from the buffer. I.e. it copies the first max_bytes bytes from the front of the buffer into data . If there are fewer than max_bytes bytes available, the function copies all ... the bytes there are. パラメータ data Output string. max_bytes The number of bytes to copy. 戻り値 Returns the number of bytes copied ... , or -1 on failure. 参考 EventBuffer::read() - Read data from an evbuffer and drain the bytes read EventBuffer::appendFrom() - Moves the specified number of bytes from a source buffer to the end of the current buffer ...
https://man.mtool.work/php/8.3/eventbuffer.copyout.html
EventBuffer::read — Read data from an evbuffer and drain the bytes read | PHP 8... 10766
EventBuffer::read (PECL event >= 1.6.0) EventBuffer::read — Read data from an evbuffer and drain the bytes read 説明 public function EventBuffer::read ( int $max_bytes ): string Read the first max_bytes from the buffer and drain the bytes r ... ead. If more max_bytes are requested than are available in the buffer, it only extracts as many bytes as available. パラメータ max_bytes Maximum ... number of bytes to read from the buffer. 戻り値 Returns string read, or false on failure. 変更履歴 バージョン 説明 PECL event 1.6.0 Rename ... d EventBuffer::read() (the old method name) to EventBuffer::read() . EventBuffer::read() now takes only max_bytes argument; returns string instead of integer. 参考 EventBuffer::copyout() - Copies out specified number of bytes from the f ...
https://man.mtool.work/php/8.3/eventbuffer.read.html
stream_notification_callback — notification コンテキストパラメータ用のコールバ... 9915
stream_notification_callback (PHP 5 >= 5.2.0, PHP 7, PHP 8) stream_notification_callback — notification コンテキストパラメータ用のコールバック関数 説明 function stream_notification_callback ( int $notification_code , int $severity , ? strin ... g $message , int $message_code , int $bytes_transferred , int $bytes_max ): void イベント発生時にコールされる callable 関数です。 notification context parameter が使用 ... ssage_code イベントについて説明するコードが存在する場合に渡されます。 この値の意味は、使用するラッパーによって異なります。 bytes_transferred 利用可能な場合は bytes_transferred の値が格納されます。 bytes_max 利用可能な場合は bytes_max の値が格納されます ... callback() の例 <?php function stream_notification_callback ( $notification_code , $severity , $message , $message_code , $bytes_transferred , $bytes_max ) { switch( $notification_code ) { case STREAM_NOTIFY_RESOLVE : case STREAM_NOTIFY_AUTH_REQUIRED ...
https://man.mtool.work/php/8.3/function.stream-notification-callback.html
openssl_random_pseudo_bytes — 疑似ランダムなバイト文字列を生成する | PHP 8.3 9825
openssl_random_pseudo_bytes (PHP 5 >= 5.3.0, PHP 7, PHP 8) openssl_random_pseudo_bytes — 疑似ランダムなバイト文字列を生成する 説明 function openssl_random_pseudo_bytes ( int $length , bool &$strong_result = null ): string 疑似ランダムなバイ ... い場合は false となります。 戻り値 成功した場合は指定したバイト長の string を返します。 エラー / 例外 openssl_random_pseudo_bytes() は、 失敗した場合に Exception をスローします。 変更履歴 バージョン 説明 8.0.0 strong_result は、nullable になりました。 ... 数は、失敗時に false を返さなくなりました。 代わりに Exception をスローするようになっています。 例 例1 openssl_random_pseudo_bytes() の例 <?php for ( $i = 1 ; $i <= 4 ; $i ++) { $bytes = openssl_random_pseudo_bytes ( $i , $cstrong ); $hex = bin2hex ( $b ... ytes ); echo "Lengths: Bytes: $i and Hex: " . strlen ( $hex ) . PHP_EOL ; var_dump ( $hex ); var_dump ( $cstrong ); echo PHP_EOL ; } ?> 上の例の出力は、 ...
https://man.mtool.work/php/8.3/function.openssl-random-pseudo-bytes.html
EventBuffer::appendFrom — Moves the specified number of bytes from a source buf... 9310
EventBuffer::appendFrom (PECL event >= 1.6.0) EventBuffer::appendFrom — Moves the specified number of bytes from a source buffer to the end of the current buffer 説明 public function EventBuffer::appendFrom ( EventBuffer $buf , int $len ): ... int Moves the specified number of bytes from a source buffer to the end of the current buffer. If there are fewer number of bytes, it moves all the bytes availabl ... e from the source buffer. パラメータ buf Source buffer. len 戻り値 Returns the number of bytes read. 変更履歴 バージョン 説明 PECL event 1.6.0 Renamed EventBuffer::appendFrom() (the old method name) to EventBuffer::ap ... pendFrom() . 参考 EventBuffer::copyout() - Copies out specified number of bytes from the front of the buffer EventBuffer::drain() - Removes specified number of bytes from the front of the buffer without ...
https://man.mtool.work/php/8.3/eventbuffer.appendfrom.html
EventBuffer::pullup — Linearizes data within buffer and returns its contents as... 8548
EventBuffer::pullup (PECL event >= 1.2.6-beta) EventBuffer::pullup — Linearizes data within buffer and returns its contents as a string 説明 public function EventBuffer::pullup ( int $size ): string "Linearizes" the first size bytes of the ... rge size can be quite slow, since it potentially needs to copy the entire buffer's contents. パラメータ size The number of bytes required to be contiguous within the buffer. 戻り値 If size is greater than the number of bytes in the buffer, the functio ... turns null . Otherwise, EventBuffer::pullup() returns string. 参考 EventBuffer::copyout() - Copies out specified number of bytes from the front of the buffer EventBuffer::drain() - Removes specified number of bytes from the front of the buffer without ... copying it anywhere EventBuffer::read() - Read data from an evbuffer and drain the bytes read EventBuffer::readLine() - Extracts a line from the front of the buffer EventBuffer::appendFrom() - Moves the specifie ...
https://man.mtool.work/php/8.3/eventbuffer.pullup.html
関数エイリアスのリスト | PHP 8.3 8503
関数エイリアスのリスト 数はかなり少ないですが、PHPには複数の名前でコールされる関数があります。 いくつかの関数は単に二つの名前があり、実際の機能を持ちません。 (例えば is_int() と is_integer() は完全に同じです) いくつかの場合、これら複数の名 ... doubleval floatval() Base syntax fputs fwrite() Base syntax gzputs gzwrite() Zlib i18n_convert mb_convert_encoding() Multi-bytes Strings i18n_discover_encoding mb_detect_encoding() Multi-bytes Strings i18n_http_input mb_http_input() Multi-bytes String ... s i18n_http_output mb_http_output() Multi-bytes Strings i18n_internal_encoding mb_internal_encoding() Multi-bytes Strings i18n_ja_jp_hantozen mb_convert_kana() Multi-byte ... s Strings i18n_mime_header_decode mb_decode_mimeheader() Multi-bytes Strings i18n_mime_header_encode mb_encode_mimeheader() Multi-bytes Strings imap_create imap_createmailbox() IMAP imap_fetc ...
https://man.mtool.work/php/8.3/aliases.html
The EventBuffer class | PHP 8.3 8313
The EventBuffer class (PECL event >= 1.5.0) はじめに EventBuffer represents Libevent's "evbuffer", an utility functionality for buffered I/O. Event buffers are meant to be generally useful for doing the "buffer" part of buffered network I/O ... rom ( EventBuffer $buf , int $len ): int public function __construct () public function copyout ( string &$data , int $max_bytes ): int public function drain ( int $len ): bool public function enableLocking (): void public function expand ( int $len ) ... tion prependBuffer ( EventBuffer $buf ): bool public function pullup ( int $size ): string public function read ( int $max_bytes ): string public function read ( mixed $fd , int $howmuch ): int public function readLine ( int $eol_style ): string publi ... lic function unlock (): bool public function write ( mixed $fd , int $howmuch = ? ): int } プロパティ length The number of bytes stored in an event buffer. contiguous_space The number of bytes stored contiguously at the front of the buffer. The bytes ...
https://man.mtool.work/php/8.3/class.eventbuffer.html
新しいグローバル定数 | PHP 8.3 8033
新しいグローバル定数 PHP コア PHP_FLOAT_DIG PHP_FLOAT_EPSILON PHP_FLOAT_MIN PHP_FLOAT_MAX PHP_OS_FAMILY ファイル情報 FILEINFO_EXTENSION JSON JSON_INVALID_UTF8_IGNORE JSON_INVALID_UTF8_SUBSTITUTE GD IMG_EFFECT_MULTIPLY IMG_BMP LDAP LDAP_EXOP ... AM Sodium SODIUM_LIBRARY_VERSION SODIUM_LIBRARY_MAJOR_VERSION SODIUM_LIBRARY_MINOR_VERSION SODIUM_CRYPTO_AEAD_AES256GCM_KEYBYTES SODIUM_CRYPTO_AEAD_AES256GCM_NSECBYTES SODIUM_CRYPTO_AEAD_AES256GCM_NPUBBYTES SODIUM_CRYPTO_AEAD_AES256GCM_ABYTES SODIUM_C ... RYPTO_AEAD_CHACHA20POLY1305_KEYBYTES SODIUM_CRYPTO_AEAD_CHACHA20POLY1305_NSECBYTES SODIUM_CRYPTO_AEAD_CHACHA20POLY1305_NPUBBYTES SODIUM_CRYPTO_AEAD_CHACHA20POL ... Y1305_ABYTES SODIUM_CRYPTO_AEAD_CHACHA20POLY1305_IETF_KEYBYTES SODIUM_CRYPTO_AEAD_CHACHA20POLY1305_IETF_NSECBYTES SODIUM_CRYPTO_AEAD_CH ...
https://man.mtool.work/php/8.3/migration72.constants.html
EventBuffer::readFrom — Read data from a file onto the end of the buffer | PHP ... 7652
EventBuffer::readFrom (PECL event >= 1.7.0) EventBuffer::readFrom — Read data from a file onto the end of the buffer 説明 public function EventBuffer::read ( mixed $fd , int $howmuch ): int Read data from the file specified by fd onto the e ... nd of the buffer. パラメータ fd Socket resource, stream, or numeric file descriptor. howmuch Maximum number of bytes to read. 戻り値 Returns the number of bytes read, or false on failure. 参考 EventBuffer::copyout() - Copies out specified ... number of bytes from the front of the buffer EventBuffer::drain() - Removes specified number of bytes from the front of the buffer without ... uffer::readLine() - Extracts a line from the front of the buffer EventBuffer::appendFrom() - Moves the specified number of bytes from a source buffer to the end of the current buffer 他のマニュアルの関連ページ Linux JM fread(3) Linux JM fwrite(3) Pyth ...
https://man.mtool.work/php/8.3/eventbuffer.readfrom.html
PREV 1 2 3 4 5 6 7 8 9 10 NEXT