« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 5 of about 5 for roughly (0.002 sec.)
The EvTimer class | PHP 8.3 12575
The EvTimer class (PECL ev >= 0.2.0) はじめに EvTimer watchers are simple relative timers that generate an event after a given time, and optionally repeating in regular intervals after that. The timers are based on real time, that is, if on ... ters an event that times out after an hour and resets the system clock to January last year , it will still time out after(roughly) one hour. "Roughly" because detecting time jumps is hard, and some inaccuracies are unavoidable. The callback is guarante ... imer is started and one second passes, remaining will return 4.0 . When the timer expires and is restarted, it will return roughly 7.0 (likely slightly less as callback invocation takes some time too), and so on. 目次 EvTimer::again — Restarts the timer ...
https://man.mtool.work/php/8.3/class.evtimer.html
Memory Management | PHP 8.3 9376
Memory Management Yac keeps its data in two independent shared-memory pools, configured with yac.keys_memory_size and yac.values_memory_size . They fill up and free up in different ways, so it helps to know which pool a symptom belongs to b ... ize yac.values_memory_size as the number of live values times their average serialized size (after compression), and allow roughly twice that: the pool is a ring, and a value only dies once the allocator cursor comes back around to overwrite it. Embedde ... king set the pool has to hold; raise yac.values_memory_size so the pool holds the whole live value set (remember to budget roughly twice the live footprint — a value only dies once the cursor comes back around to overwrite it); store less per entry: low ...
https://man.mtool.work/php/8.3/yac.memory-management.html
The MongoDB\BSON\ObjectId class | PHP 8.3 8640
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 ... be accessed using the MongoDB\BSON\ObjectId::getTimestamp() method. Sorting on an _id field that stores ObjectId values is roughly equivalent to sorting by creation time. クラス概要 final class MongoDB\BSON\ObjectId implements MongoDB\BSON\ObjectIdInter ...
https://man.mtool.work/php/8.3/class.mongodb-bson-objectid.html
The EvPeriodic class | PHP 8.3 8144
The EvPeriodic class (PECL ev >= 0.2.0) はじめに Periodic watchers are also timers of a kind, but they are very versatile. Unlike EvTimer , EvPeriodic watchers are not based on real time(or relative time, the physical time that passes) but ... f the previous year , then it will take a year or more to trigger the event (unlike an EvTimer , which would still trigger roughly 10 seconds after starting it as it uses a relative timeout). As with timers, the callback is guaranteed to be invoked only ...
https://man.mtool.work/php/8.3/class.evperiodic.html
New Features | PHP 8.3 7170
New Features PHP Core Default values for readonly properties Readonly properties may now declare default values. <?php class Config { public readonly int $timeout = 30 ; } $config = new Config (); var_dump ( $config -> timeout ); // int(30) ... :compare() for use as a sorting callback A Time\TimeException is thrown when a duration exceeds the representable range of roughly 292 years, or when an ISO 8601 duration string is invalid. <?php $timeout = \Time\Duration :: fromSeconds ( 2 )-> add ( \T ...
https://man.mtool.work/php/8.3/migration86.new-features.html
PREV 1 NEXT