Results of 1 - 10 of about 38 for written (0.001 sec.)
- fwrite — バイナリセーフなファイル書き込み処理 | PHP 8.3 12925
- fwrite (PHP 4, PHP 5, PHP 7, PHP 8) fwrite — バイナリセーフなファイル書き込み処理 説明 function fwrite ( resource $stream , string $data , ? int $length = null ): int | false fwrite() は data の内容を stream が指しているファイル・ストリーム
... する可能性があります。 fwrite() の戻り値を確かめるようにしましょう。 <?php function fwrite_stream ( $fp , $string ) { for ( $written = 0 ; $written < strlen ( $string ); $written += $fwrite ) { $fwrite = fwrite ( $fp , substr ( $string , $written )); if ( ... $fwrite === false ) { return $written ; } } return $written ; } ?> 注意 : (Windowsのように)バイナリとテキストファイルの形式が異なるシステムにおいては、ファイルを ...
-
https://man.mtool.work/php/8.3/function.fwrite.html
- Swoole\Event::write — Write data to socket asynchronously | PHP 8.3 11195
- Swoole\Event::write (PECL swoole >= 1.9.0) Swoole\Event::write — Write data to socket asynchronously 説明 public static function Swoole\Event::write ( mixed $fd , mixed $data ): bool Makes data sending asynchronous for stream/sockets resour
... ces. 注意 : If data is continuously written to a socket but the peer cannot read fast enough, the socket buffer will eventually fill up. In this case, the Swoole unde ... s available. 注意 : The buffer-full return of false is an atomic operation—it guarantees either complete success (all data written) or total failure (nothing written). 警告 Event::write cannot be used with SSL/TLS-encrypted streams or sockets (tunneled ...
-
https://man.mtool.work/php/8.3/swoole-event.write.html
- EventBuffer::write — Write contents of the buffer to a file or socket | PHP 8.3 10629
- EventBuffer::write (PECL event >= 1.6.0) EventBuffer::write — Write contents of the buffer to a file or socket 説明 public function EventBuffer::write ( mixed $fd , int $howmuch = ? ): int Write contents of the buffer to a file descriptor.
... The buffer will be drained after the bytes have been successfully written. パラメータ fd Socket resource, stream or numeric file descriptor normally associated with a socket. howmuch The maximum n ... umber of bytes to write. 戻り値 Returns the number of bytes written, or false on error. 参考 EventBuffer::read() - Read data from an evbuffer and drain the bytes read 他のマニュアルの関連ペー ...
-
https://man.mtool.work/php/8.3/eventbuffer.write.html
- Represents a position (x,y) | PHP 8.3 10047
- Represents a position (x,y) (UI 0.9.9) はじめに Points are used throughout UI to represent co-ordinates on a screen, control, or area. クラス概要 final class UI\Point { /* プロパティ */ public $ x ; public $ y ; /* Constructor */ public fun
... c function setX ( float $point ) public function setY ( float $point ) } プロパティ x Holds the X co-ordinate, can be read/written directly y Holds the Y co-ordinate, can be read/written directly 目次 UI\Point::at — Size Coercion UI\Point::__construct — ...
-
https://man.mtool.work/php/8.3/class.ui-point.html
- Represents dimensions (width, height) | PHP 8.3 10047
- Represents dimensions (width, height) (UI 0.9.9) はじめに Sizes are used throughout UI to represent the size of a screen, control, or area. クラス概要 final class UI\Size { /* プロパティ */ public $ width ; public $ height ; /* Constructor
... unction setHeight ( float $size ) public function setWidth ( float $size ) } プロパティ width Holds the width, can be read/written directly height Holds the height, can be read/written directly 目次 UI\Size::__construct — Construct a new Size UI\Size::g ...
-
https://man.mtool.work/php/8.3/class.ui-size.html
- The MongoDB\Driver\ReadConcern class | PHP 8.3 9292
- The MongoDB\Driver\ReadConcern class (mongodb >=1.1.0) はじめに MongoDB\Driver\ReadConcern controls the level of isolation for read operations for replica sets and replica set shards. This option requires MongoDB 3.2 or later. クラス概要 fi
... and level are unspecified. The query returns the instance's most recent data. Provides no guarantee that the data has been written to a majority of the replica set members (i.e. may be rolled back). For unsharded collections (including collections in a ... rClusterTime is specified. The query returns the instance's most recent data. Provides no guarantee that the data has been written to a majority of the replica set members (i.e. may be rolled back). MongoDB\Driver\ReadConcern::MAJORITY The query returns ... the instance's most recent data acknowledged as having been written to a majority of members in the replica set. To use read concern level of "majority" , replica sets must use WiredTiger st ...
-
https://man.mtool.work/php/8.3/class.mongodb-driver-readconcern.html
- SplFileObject::fwrite — ファイルに書き込む | PHP 8.3 9292
- SplFileObject::fwrite (PHP 5 >= 5.1.0, PHP 7, PHP 8) SplFileObject::fwrite — ファイルに書き込む 説明 public function SplFileObject::fwrite ( string $data , ? int $length = null ): int | false Writes the contents of data to the file パラメー
... alse を返すようになりました。 例 例1 SplFileObject::fwrite() の例 <?php $file = new SplFileObject ( "fwrite.txt" , "w" ); $written = $file -> fwrite ( "12345" ); echo " $written バイトをファイルに書き込みました" ; ?> 上の例の出力は、 たとえば以下のように ...
-
https://man.mtool.work/php/8.3/splfileobject.fwrite.html
- SyncSharedMemory::write — Copy data to named shared memory | PHP 8.3 9292
- SyncSharedMemory::write (PECL sync >= 1.1.0) SyncSharedMemory::write — Copy data to named shared memory 説明 public function SyncSharedMemory::write ( string $string = ? , int $start = 0 ) Copies data to named shared memory. パラメータ stri
... data to write to shared memory. 注意 : If the size of the data exceeds the size of the shared memory, the number of bytes written returned will be less than the length of the input. start The start/offset, in bytes, to begin writing. 注意 : If the valu ... the specified number of bytes from the end of the shared memory segment. 戻り値 An integer containing the number of bytes written to shared memory. 例 例1 SyncSharedMemory::write() example <?php // You will probably need to protect shared memory with o ...
-
https://man.mtool.work/php/8.3/syncsharedmemory.write.html
- 基本的な使用法 | PHP 8.3 8899
- 基本的な使用法 例1 共有メモリ操作の概要 <?php // システムID 0xff3を有する 100 バイトの共有メモリブロックを作成する $shm_id = shmop_open ( 0xff3 , "c" , 0644 , 100 ); if (! $shm_id ) { echo "共有メモリセグメントを作成できませんでした。\n" ;
... "SHM ブロックサイズ: " . $shm_size . " が作成されました。\n" ; // 共有メモリにテスト用の文字列を書き込んでみる $shm_bytes_written = shmop_write ( $shm_id , "my shared memory block" , 0 ); if ( $shm_bytes_written != strlen ( "my shared memory block" )) ...
-
https://man.mtool.work/php/8.3/shmop.examples-basic.html
- shmop_write — 共有メモリブロックにデータを書き込む | PHP 8.3 8711
- shmop_write (PHP 4 >= 4.0.4, PHP 5, PHP 7, PHP 8) shmop_write — 共有メモリブロックにデータを書き込む 説明 function shmop_write ( Shmop $shmop , string $data , int $offset ): int shmop_write() は、共有メモリブロックに文字列を書き込みます。 パ
... なりました。 これより前のバージョンでは、リソースが期待されていました。 例 例1 共有メモリブロックに書き込む <?php $shm_bytes_written = shmop_write ( $shm_id , $my_string , 0 ); ?> この例は、 $my_string にあるデータを共有メモリブロックに書き込みます。 $shm ... _bytes_written には、書かれたデータのバイト数が入ります。 参考 shmop_read() - 共有メモリブロックからデータを読み取る 他のマニュアルの関連 ...
-
https://man.mtool.work/php/8.3/function.shmop-write.html