« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 131 for chunk (0.002 sec.)
Manipulation 10398
« Threaded Threaded::count » PHP Manual Threaded Manipulation 検索 Threaded::chunk (PECL pthreads >= 2.0.0) Threaded::chunk — Manipulation 説明 public function Threaded::chunk ( int $size , bool $preserve ): array Fetches a chunk of the obj ... rve Preserve the keys of members, by default false 戻り値 An array of items from the objects property table 例 例1 Fetch a chunk of the property table <?php $safe = new Threaded (); while ( count ( $safe ) < 10 ) { $safe [] = count ( $safe ); } var_du ... mp ( $safe -> chunk ( 5 )); ?> 上の例の出力は以下となります。 array(5) { [0]=> int(0) [1]=> int(1) [2]=> int(2) [3]=> int(3) [4]=> int(4) } 関 ... 連キーワード: Threaded chunk int safe Manipulation count size array property table preserve objects keys items Search pthreads function bool Fetches gi ...
https://man.mtool.work/php/8.3/threaded.chunk.html
Manipulation 10337
« Threaded Threaded::count » PHP Manual Threaded Manipulation 検索 Threaded::chunk (PECL pthreads >= 2.0.0) Threaded::chunk — Manipulation 説明 public function Threaded::chunk ( int $size , bool $preserve ): array Fetches a chunk of the obj ... rve Preserve the keys of members, by default false 戻り値 An array of items from the objects property table 例 例1 Fetch a chunk of the property table <?php $safe = new Threaded (); while ( count ( $safe ) < 10 ) { $safe [] = count ( $safe ); } var_du ... mp ( $safe -> chunk ( 5 )); ?> 上の例の出力は以下となります。 array(5) { [0]=> int(0) [1]=> int(1) [2]=> int(2) [3]=> int(3) [4]=> int(4) } 関 ... 連キーワード: Threaded chunk safe Manipulation count size property table preserve objects keys items pthreads Fetches given optionally preserving numbe ...
https://man.mtool.work/php/8.3/threaded.chunk.html
Send another data chunk as part of an ongoing chunked reply 9209
« EventHttpRequest::sendReply EventHttpRequest::sendReplyEnd » PHP Manual EventHttpRequest Send another data chunk as part of an ongoing chunked reply 検索 EventHttpRequest::sendReplyChunk (PECL event >= 1.4.0-beta) EventHttpRequest::sendRe ... plyChunk — Send another data chunk as part of an ongoing chunked reply 説明 public function EventHttpRequest::sendReplyChunk ( Even ... tBuffer $buf ): void Send another data chunk as part of an ongoing chunked reply. After calling this method buf will be empty. パラメータ buf The data chunk to send as ... part of the reply. 戻り値 値を返しません。 参考 EventHttpRequest::sendReplyStart() - Initiate a chunked reply EventHttpRequest::sendReplyEnd() - Complete a chunked reply, freeing the request as appropriate 関連キーワード: Ev ...
https://man.mtool.work/php/8.3/eventhttprequest.sendreplychunk.html
Send another data chunk as part of an ongoing chunked reply 9160
« EventHttpRequest::sendReply EventHttpRequest::sendReplyEnd » PHP Manual EventHttpRequest Send another data chunk as part of an ongoing chunked reply 検索 EventHttpRequest::sendReplyChunk (PECL event >= 1.4.0-beta) EventHttpRequest::sendRe ... plyChunk — Send another data chunk as part of an ongoing chunked reply 説明 public function EventHttpRequest::sendReplyChunk ( Even ... tBuffer $buf ): void Send another data chunk as part of an ongoing chunked reply. After calling this method buf will be empty. パラメータ buf The data chunk to send as ... part of the reply. 戻り値 値を返しません。 参考 EventHttpRequest::sendReplyStart() - Initiate a chunked reply EventHttpRequest::sendReplyEnd() - Complete a chunked reply, freeing the request as appropriate 関連キーワード: Ev ...
https://man.mtool.work/php/8.3/eventhttprequest.sendreplychunk.html
配列を分割する 8736
« array_change_key_case array_column » PHP Manual 配列 関数 配列を分割する 検索 array_chunk (PHP 4 >= 4.2.0, PHP 5, PHP 7, PHP 8) array_chunk — 配列を分割する 説明 function array_chunk ( array $array , int $length , bool $preserve_keys = fa ... or がスローされるようになりました。 これより前のバージョンでは、 E_WARNING が発生し、 null を返していました。 例 例1 array_chunk() の例 <?php $input_array = array( 'a' , 'b' , 'c' , 'd' , 'e' ); print_r ( array_chunk ( $input_array , 2 )); print_r ( a ... rray_chunk ( $input_array , 2 , true )); ?> 上の例の出力は以下となります。 Array ( [0] => Array ( [0] => a [1] => b ) [1] => Array ( ... c [3] => d ) [2] => Array ( [4] => e ) ) 参考 array_slice() - 配列の一部を展開する 関連キーワード: array 配列 Array length chunk 分割 要素 場合 input preserve keys false true キー ValueError バージョン print change key case ...
https://man.mtool.work/php/8.3/function.array-chunk.html
文字列をより小さな部分に分割する 8736
« chr convert_cyr_string » PHP Manual String 関数 文字列をより小さな部分に分割する 検索 chunk_split (PHP 4, PHP 5, PHP 7, PHP 8) chunk_split — 文字列をより小さな部分に分割する 説明 function chunk_split ( string $string , int $length = 76 , ... パラメータ string 分割したい文字列。 length 各部分の長さ。 separator 行末の区切り。 戻り値 分割した文字列を返します。 例 例1 chunk_split() の例 <?php $data = 'This is quite a long string, which will get broken up because the line is going to be too long ... after base64 encoding it.' ; // RFC 2045 に基づき $data をフォーマットします $new_string = chunk_split ( base64_encode ( $data )); echo $new_string , PHP_EOL ; ?> 参考 str_split() - 文字列を配列に変換する explode() - 文 ... 字列を文字列により分割する wordwrap() - 指定した文字数で文字列を分割する » RFC 2045 関連キーワード: string 分割 split chunk length separator base data encode 変換 long new chr Search convert cyr String function int 規約 ...
https://man.mtool.work/php/8.3/function.chunk-split.html
配列を分割する 8736
« array_change_key_case array_column » PHP Manual 配列 関数 配列を分割する 検索 array_chunk (PHP 4 >= 4.2.0, PHP 5, PHP 7, PHP 8) array_chunk — 配列を分割する 説明 function array_chunk ( array $array , int $length , bool $preserve_keys = fa ... or がスローされるようになりました。 これより前のバージョンでは、 E_WARNING が発生し、 null を返していました。 例 例1 array_chunk() の例 <?php $input_array = array( 'a' , 'b' , 'c' , 'd' , 'e' ); print_r ( array_chunk ( $input_array , 2 )); print_r ( a ... rray_chunk ( $input_array , 2 , true )); ?> 上の例の出力は以下となります。 Array ( [0] => Array ( [0] => a [1] => b ) [1] => Array ( ... > Array ( [2] => c [3] => d ) [2] => Array ( [4] => e ) ) 参考 array_slice() - 配列の一部を展開する 関連キーワード: length chunk 分割 input preserve keys キー ValueError print change case column 最後 保持 数字 数値 添字 多次元 添え字 次元 履歴 参考 sl ...
https://man.mtool.work/php/8.3/function.array-chunk.html
文字列をより小さな部分に分割する 8687
« chr convert_cyr_string » PHP Manual String 関数 文字列をより小さな部分に分割する 検索 chunk_split (PHP 4, PHP 5, PHP 7, PHP 8) chunk_split — 文字列をより小さな部分に分割する 説明 function chunk_split ( string $string , int $length = 76 , ... パラメータ string 分割したい文字列。 length 各部分の長さ。 separator 行末の区切り。 戻り値 分割した文字列を返します。 例 例1 chunk_split() の例 <?php $data = 'This is quite a long string, which will get broken up because the line is going to be too long ... after base64 encoding it.' ; // RFC 2045 に基づき $data をフォーマットします $new_string = chunk_split ( base64_encode ( $data )); echo $new_string , PHP_EOL ; ?> 参考 str_split() - 文字列を配列に変換する explode() - 文 ... 字列を文字列により分割する wordwrap() - 指定した文字数で文字列を分割する » RFC 2045 関連キーワード: 分割 split chunk length separator base encode long convert 規約 用途 挿入 行末 区切り quite broken because line going after encoding フォー ...
https://man.mtool.work/php/8.3/function.chunk-split.html
Read file stream asynchronously 8323
« swoole_async_dns_lookup swoole_async_readfile » PHP Manual Swoole 関数 Read file stream asynchronously 検索 swoole_async_read (PECL swoole >= 1.9.0) swoole_async_read — Read file stream asynchronously 説明 function swoole_async_read ( str ... ing $filename , callable $callback , int $chunk_size = 65536 , int $offset = 0 ): bool パラメータ filename The filename of the file being read. callback function callback ... string $filename , string $content ): mixed filename The name of the file. content The content read from the file stream. chunk_size The chunk length. offset The offset. 戻り値 Whether the read is succeed. 関連キーワード: file swoole read async filen ... ame stream Read asynchronously string callback chunk offset content function int size dns lookup Search readfile ...
https://man.mtool.work/php/8.3/function.swoole-async-read.html
Read file stream asynchronously. 8323
« Swoole\Async::dnsLookup Swoole\Async::readFile » PHP Manual Swoole\Async Read file stream asynchronously. 検索 Swoole\Async::read (PECL swoole >= 1.9.0) Swoole\Async::read — Read file stream asynchronously. 説明 public static function Swo ... ole\Async::read ( string $filename , callable $callback , int $chunk_size = ? , int $offset = ? ): bool パラメータ filename The name of the file. callback function callback ( string $filename ... , string $content ): mixed filename The name of the file. content The content read from the file stream. chunk_size The chunk length. offset The offset. 戻り値 Whether the read is succeed. 関連キーワード: file Swoole Async read strea ... m filename Read asynchronously string callback chunk offset content function int size name dnsLookup Search readFile ...
https://man.mtool.work/php/8.3/swoole-async.read.html
PREV 1 2 3 4 5 6 7 8 9 10 NEXT