Results of 1 - 3 of about 3 for caps (0.001 sec.)
- iterator_apply — ユーザー関数をイテレータのすべての要素でコールする | PHP 8.3 11868
- iterator_apply (PHP 5 >= 5.1.0, PHP 7, PHP 8) iterator_apply — ユーザー関数をイテレータのすべての要素でコールする 説明 function iterator_apply ( Traversable $iterator , callable $callback , ? array $args = null ): int イテレータ内のすべての
... ack に別々の引数として渡されます。 戻り値 イテレータの要素数を返します。 例 例1 iterator_apply() の例 <?php function print_caps ( Iterator $iterator ) { echo strtoupper ( $iterator -> current ()) . "\n" ; return TRUE ; } $it = new ArrayIterator (arra ... y( "Apples" , "Bananas" , "Cherries" )); iterator_apply ( $it , "print_caps" , array( $it )); ?> 上の例の出力は以下となります。 APPLES BANANAS CHERRIES 参考 array_walk() - 配列の全ての要素にユーザー ...
-
https://man.mtool.work/php/8.3/function.iterator-apply.html
- 実行時設定 | PHP 8.3 8464
- 実行時設定 php.ini の設定により動作が変化します。 Yac 設定オプション 名前 デフォルト 変更可能 変更履歴 yac.compress_threshold 4K INI_SYSTEM yac.debug 0 INI_ALL yac.enable 1 INI_SYSTEM yac.enable_cli 0 INI_SYSTEM yac.keys_memory_size 8M INI_
... memory segment would be created for nothing. yac.keys_memory_size string Amount of shared memory for the table of keys. It caps how many entries can exist at once — the default of 8M gives around 65,536 entries. Raise this when the hit rate drops and ...
-
https://man.mtool.work/php/8.3/yac.configuration.html
- Memory Management | PHP 8.3 7533
- 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
... size table of slots — the default of 8M gives around 65,536 slots. Each stored key occupies exactly one slot, so this pool caps the number of entries that can exist at once; unlike the value pool, slots are never individually freed. An expired slot — ...
-
https://man.mtool.work/php/8.3/yac.memory-management.html
PREV
1
NEXT