« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 11 for Closures (0.001 sec.)
parallel\Runtime::run — Execution | PHP 8.3 11451
parallel\Runtime::run (0.8.0) parallel\Runtime::run — Execution 説明 public function parallel\Runtime::run ( Closure $task ): ? Future Shall schedule task for execution in parallel. public function parallel\Runtime::run ( Closure $task , ar ... ics. argv An array of arguments with specific characteristics to be passed to task at execution time. Task Characteristics Closures scheduled for parallel execution must not: accept or return by reference accept or return internal objects (see notes) exe ... cute a limited set of instructions Instructions prohibited in Closures intended for parallel execution are: yield use by-reference declare class declare named function 注意 : Nested closures ma ... ay be shared. Some internal objects do not use a custom structure, for example parallel\Events\Event and so may be shared. Closures are a special kind of internal object and support being copied by value, and so may be shared. Channels are central to wri ...
https://man.mtool.work/php/8.3/parallel-runtime.run.html
parallel\run — Execution | PHP 8.3 11166
parallel\run (1.0.0) parallel\run — Execution 説明 function parallel\run ( Closure $task ): ? Future Shall schedule task for execution in parallel. function parallel\run ( Closure $task , array $argv ): ? Future Shall schedule task for exec ... ics. argv An array of arguments with specific characteristics to be passed to task at execution time. Task Characteristics Closures scheduled for parallel execution must not: accept or return by reference accept or return internal objects (see notes) exe ... cute a limited set of instructions Instructions prohibited in Closures intended for parallel execution are: yield use by-reference declare class declare named function 注意 : Nested closures ma ... ay be shared. Some internal objects do not use a custom structure, for example parallel\Events\Event and so may be shared. Closures are a special kind of internal object and support being copied by value, and so may be shared. Channels are central to wri ...
https://man.mtool.work/php/8.3/parallel.run.html
Componere\Patch::getClosures — Get Closures | PHP 8.3 10864
Componere\Patch::getClosures (Componere 2 >= 2.1.0) Componere\Patch::getClosures — Get Closures 説明 public function Componere\Patch::getClosures (): array Shall return an array of Closures 戻り値 Shall return all methods as an array of Clo ...
https://man.mtool.work/php/8.3/componere-patch.getclosures.html
Componere\Definition::getClosures — Get Closures | PHP 8.3 10722
Componere\Definition::getClosures (Componere 2 >= 2.1.0) Componere\Definition::getClosures — Get Closures 説明 public function Componere\Definition::getClosures (): array Shall return an array of Closures 戻り値 Shall return all methods as ...
https://man.mtool.work/php/8.3/componere-definition.getclosures.html
The parallel\Channel class | PHP 8.3 8819
The parallel\Channel class (0.9.0) Unbuffered Channels An unbuffered channel will block on calls to parallel\Channel::send() until there is a receiver, and block on calls to parallel\Channel::recv() until there is a sender. This means an un ... Channel::send() until capacity is reached, calls to parallel\Channel::recv() will block until there is data in the buffer. Closures over Channels A powerful feature of parallel channels is that they allow the exchange of closures between tasks (and runti ... ge the buffering of the channel transmitting the closure, but it does effect the static scope inside the closure: The same closure sent to different runtimes, or the same runtime, will not share their static scope. This means that whenever a closure is e ...
https://man.mtool.work/php/8.3/class.parallel-channel.html
Componere | PHP 8.3 8375
Componere はじめに Componere (latin, English: compose) targets production environments and provides an API for composition of classes, monkey patching, and casting. Composition: Componere\Definition is used to define (or redefine) a class a ... mponere\Definition::isRegistered — State Detection Componere\Definition::getClosure — Get Closure Componere\Definition::getClosures — Get Closures Componere\Patch — The Componere\Patch class Componere\Patch::__construct — Patch Construction Componere\Pat ... — State Detection Componere\Patch::derive — Patch Derivation Componere\Patch::getClosure — Get Closure Componere\Patch::getClosures — Get Closures Componere\Method — The Componere\Method class Componere\Method::__construct — Method Construction Componere ...
https://man.mtool.work/php/8.3/book.componere.html
parallel | PHP 8.3 8090
parallel はじめに parallel is a parallel concurrency extension for PHP ≥ 7.2.0. As of parallel 1.2.0, PHP ≥ 8.0.0 is required. A brief description of the concepts core to parallel follows, more detailed information may be found within this ... task is simply a Closure intended for parallel execution. The Closure may contain almost any instruction, including nested closures. However, there are some instructions that are prohibited in tasks: yield use by-reference declare class declare named fun ... ction 注意 : Nested closures may yield or use by-reference, but must not contain class or named function declarations. 注意 : No instructions are prohi ...
https://man.mtool.work/php/8.3/book.parallel.html
The Componere\Patch class | PHP 8.3 7503
The Componere\Patch class (Componere 2 >= 2.1.0) はじめに The Patch class allows the programmer to change the type of an instance at runtime without registering a new Definition When a Patch is destroyed it is reverted, so that instances th ... public function derive ( object $instance ): Patch public function getClosure ( string $name ): Closure public function getClosures (): array /* 継承したメソッド */ public function Componere\Abstract\Definition::addInterface ( string $interface ): Defini ... — State Detection Componere\Patch::derive — Patch Derivation Componere\Patch::getClosure — Get Closure Componere\Patch::getClosures — Get Closures 他のマニュアルの関連ページ Linux JM patch(1) Linux JM standards(7) ...
https://man.mtool.work/php/8.3/class.componere-patch.html
The Componere\Definition class | PHP 8.3 7343
The Componere\Definition class (Componere 2 >= 2.1.0) はじめに The Definition class allows the programmer to build and register a type at runtime. Should a Definition replace an existing class, the existing class will be restored when the D ... ter (): void public function isRegistered (): bool public function getClosure ( string $name ): Closure public function getClosures (): array /* 継承したメソッド */ public function Componere\Abstract\Definition::addInterface ( string $interface ): Defini ... mponere\Definition::isRegistered — State Detection Componere\Definition::getClosure — Get Closure Componere\Definition::getClosures — Get Closures 他のマニュアルの関連ページ Linux JM standards(7) ...
https://man.mtool.work/php/8.3/class.componere-definition.html
uopz_compose — Compose a class | PHP 8.3 7343
uopz_compose (PECL uopz 1, PECL uopz 2) uopz_compose — Compose a class 警告 この関数は、PECL uopz 5.0.0 で 削除 されました。 説明 function uopz_compose ( string $name , array $classes , array $methods = ? , array $properties = ? , int $flag ... class name classes An array of class, interface and trait names methods An associative array of methods, values are either closures or [modifiers => closure] properties An associative array of properties, keys are names, values are modifiers flags Entry ...
https://man.mtool.work/php/8.3/function.uopz-compose.html
PREV 1 2 NEXT