« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 77 for Usage (0.004 sec.)
定義済み定数 | PHP 8.3 13799
定義済み定数 以下の定数が定義されています。 この関数の拡張モジュールが PHP 組み込みでコンパイルされているか、 実行時に動的にロードされている場合のみ使用可能です。 SQLSRV_FETCH_ASSOC ( int ) Forces sqlsrv_fetch_array() to return an associati ... ter when passed to sqlsrv_query() or sqlsrv_prepare() . SQLSRV_PHPTYPE_INT ( int ) Specifies an integer PHP data type. For usage information, see » How to: Specify PHP Types . SQLSRV_PHPTYPE_DATETIME ( int ) Specifies a datetime PHP data type. For usa ... ge information, see » How to: Specify PHP Types . SQLSRV_PHPTYPE_FLOAT ( int ) Specifies a float PHP data type. For usage information, see » How to: Specify PHP Types . SQLSRV_PHPTYPE_STREAM ( int ) Specifies a PHP stream. This constant works l ... ike a function and accepts an encoding constant. See the SQLSRV_ENC_* constants. For usage information, see » How to: Specify PHP Types . SQLSRV_PHPTYPE_STRING ( int ) Specifies a string PHP data type. This consta ...
https://man.mtool.work/php/8.3/sqlsrv.constants.html
memory_reset_peak_usage — メモリの最大値をリセットする | PHP 8.3 11921
memory_reset_peak_usage (PHP 8 >= 8.2.0) memory_reset_peak_usage — メモリの最大値をリセットする 説明 function memory_reset_peak_usage (): void memory_get_peak_usage() が返したメモリの最大値をリセットします。 パラメータ この関数にはパラメータ ... はありません。 戻り値 値を返しません。 例 例1 memory_reset_peak_usage() の例 <?php var_dump ( memory_get_peak_usage ()); $a = str_repeat ( "Hello" , 424242 ); var_dump ( memory_get_peak_usage ... ()); unset( $a ); memory_reset_peak_usage (); $a = str_repeat ( "Hello" , 2424 ); var_dump ( memory_get_peak_usage ()); ?> 上の例の出力は、 たとえば以下のようになり ... ます。 int(422440) int(2508672) int(399208) 参考 memory_get_peak_usage() - PHP によって割り当てられたメモリの最大値を返す 他のマニュアルの関連ページ Django 1.11.14 Linux JM limits(5) Linux JM m ...
https://man.mtool.work/php/8.3/function.memory-reset-peak-usage.html
memory_get_usage — PHP スクリプトに割り当てられたメモリの量、または PHP のメモ... 10553
memory_get_usage (PHP 4 >= 4.3.2, PHP 5, PHP 7, PHP 8) memory_get_usage — PHP スクリプトに割り当てられたメモリの量、または PHP のメモリマネージャーがシステムから確保したメモリの量を返す 説明 function memory_get_usage ( bool $real_usage = fa ... 報告される値はアロケータの割り当て単位に切り上げられるため、実際に要求されたバイト数よりも大きくなります。 パラメータ real_usage これを true に設定すると、PHP のメモリマネージャーがシステムから確保したメモリの総量 (現在使われていないページも含む) を取 ... じて割り当てられたメモリだけです。 永続的に割り当てられたメモリや、拡張モジュールが malloc() で直接割り当てたメモリは、 real_usage が true の場合でも報告されません。 戻り値 メモリの量をバイト単位で返します。 例 例1 memory_get_usage() の例 <?php // これは ... 単なる例にすぎません。 // 以下の数値はシステムによって変化します。 echo memory_get_usage (), "\n" ; // 36640 $a = str_repeat ( "Hello" , 4242 ); echo memory_get_usage (), "\n" ; // 57960 unset( $a ); echo memory ...
https://man.mtool.work/php/8.3/function.memory-get-usage.html
memory_get_peak_usage — PHP によって割り当てられたメモリの最大値を返す | PHP 8.... 9945
memory_get_peak_usage (PHP 5 >= 5.2.0, PHP 7, PHP 8) memory_get_peak_usage — PHP によって割り当てられたメモリの最大値を返す 説明 function memory_get_peak_usage ( bool $real_usage = false ): int PHP スクリプトに割り当てられたメモリの最大値を ... 、バイト単位で返します。 パラメータ real_usage これを true に設定すると、システムが割り当てた実際のメモリの大きさを取得します。 省略したり false を設定したりすると、 ema ... lloc() が使用するメモリのみを報告します。 戻り値 メモリの最大値をバイト数で返します。 参考 memory_get_usage() - PHP スクリプトに割り当てられたメモリの量、または PHP のメモリマネージャーがシステムから確保したメモリの量を返す memory ... _reset_peak_usage() - メモリの最大値をリセットする memory_limit 他のマニュアルの関連ページ Linux JM limits(5) Docker docker update Django 1. ...
https://man.mtool.work/php/8.3/function.memory-get-peak-usage.html
LuaSandbox::getMemoryUsage — Fetch the current memory usage of the Lua environm... 9586
LuaSandbox::getMemoryUsage (PECL luasandbox >= 1.0.0) LuaSandbox::getMemoryUsage — Fetch the current memory usage of the Lua environment 説明 public function LuaSandbox::getMemoryUsage (): int Fetches the current memory usage of the Lua env ... ironment. パラメータ この関数にはパラメータはありません。 戻り値 Returns the current memory usage in bytes. 参考 LuaSandbox::getPeakMemoryUsage() - Fetch the peak memory usage of the Lua environment LuaSandbox::getCPUUsa ... ge() - Fetch the current CPU time usage of the Lua environment LuaSandbox::setMemoryLimit() - Set the memory limit for the Lua environment 他のマニュアルの関連ペー ...
https://man.mtool.work/php/8.3/luasandbox.getmemoryusage.html
LuaSandbox::getPeakMemoryUsage — Fetch the peak memory usage of the Lua environ... 9586
LuaSandbox::getPeakMemoryUsage (PECL luasandbox >= 1.0.0) LuaSandbox::getPeakMemoryUsage — Fetch the peak memory usage of the Lua environment 説明 public function LuaSandbox::getPeakMemoryUsage (): int Fetches the peak memory usage of the L ... ua environment. パラメータ この関数にはパラメータはありません。 戻り値 Returns the peak memory usage in bytes. 参考 LuaSandbox::getMemoryUsage() - Fetch the current memory usage of the Lua environment LuaSandbox::getCPUUsag ... e() - Fetch the current CPU time usage of the Lua environment LuaSandbox::setMemoryLimit() - Set the memory limit for the Lua environment 他のマニュアルの関連ペー ...
https://man.mtool.work/php/8.3/luasandbox.getpeakmemoryusage.html
LuaSandbox::getCPUUsage — Fetch the current CPU time usage of the Lua environme... 9227
LuaSandbox::getCPUUsage (PECL luasandbox >= 1.0.0) LuaSandbox::getCPUUsage — Fetch the current CPU time usage of the Lua environment 説明 public function LuaSandbox::getCPUUsage (): float Fetches the current CPU time usage of the Lua enviro ... includes time spent in PHP callbacks. パラメータ この関数にはパラメータはありません。 戻り値 Returns the current CPU time usage in seconds. 注意 : On Windows, this function always returns zero. On operating systems that do not support CLOCK_THREAD_CP ... ch as FreeBSD and Mac OS X, this function will return the elapsed wall-clock time, not CPU time. 参考 LuaSandbox::getMemoryUsage() - Fetch the current memory usage of the Lua environment LuaSandbox::getPeakMemoryUsage() - Fetch the peak memory usage o ...
https://man.mtool.work/php/8.3/luasandbox.getcpuusage.html
imap_get_quota — クオータレベルの設定、メールボックス毎の使用状況を取得する | P... 8978
imap_get_quota (PHP 4 >= 4.0.5, PHP 5, PHP 7, PHP 8) imap_get_quota — クオータレベルの設定、メールボックス毎の使用状況を取得する 説明 function imap_get_quota ( IMAP\Connection $imap , string $quota_root ): array | false クオータレベルの設定 ... いう形式にする必要があります。 name は、情報を取得したいメールボックスの名前です。 戻り値 指定したメールボックスの limit と usage をキーとした整数値を配列として返します。 limit の値は、このメールボックスで最大使用可能な大きさを表します。 usage の値は、 ... 数の制限をなくし、 名前つきリソースを独立した配列のキーとして受信するようにしました。 各キーの値は配列となっており、その中に usage と values の値が格納されています。 過去との互換性を保つため、旧来のアクセス方法も使用可能です。 しかし新しい方法に変更する ... . imap_last_error ()); $quota_value = imap_get_quota ( $mbox , "user.kalowsky" ); if ( is_array ( $quota_value )) { echo "Usage level is: " . $quota_value [ 'usage' ]; echo "Limit level is: " . $quota_value [ 'limit' ]; } imap_close ( $mbox ); ?> 例2 ...
https://man.mtool.work/php/8.3/function.imap-get-quota.html
LuaSandbox | PHP 8.3 8426
LuaSandbox はじめに LuaSandbox is an extension for PHP 7 and PHP 8 to allow safely running untrusted Lua 5.1 code from within PHP. Differences compared to the Lua extension: LuaSandbox has support for time and memory limits. LuaSandbox prov ... s compatibility with user-supplied scripts. インストール/設定 要件 インストール手順 Differences from Standard Lua 例 Basic usage for LuaSandbox LuaSandbox — The LuaSandbox class LuaSandbox::callFunction — Call a function in a Lua global variable LuaSa ... ndbox::disableProfiler — Disable the profiler LuaSandbox::enableProfiler — Enable the profiler. LuaSandbox::getCPUUsage — Fetch the current CPU time usage of the Lua environment LuaSandbox::getMemoryUsage — Fetch the current memory usage of t ... he Lua environment LuaSandbox::getPeakMemoryUsage — Fetch the peak memory usage of the Lua environment LuaSandbox::getProfilerFunctionReport — Fetch profiler data LuaSandbo ...
https://man.mtool.work/php/8.3/book.luasandbox.html
imap_get_quotaroot — ユーザー単位のクォータ設定を取得する | PHP 8.3 8274
imap_get_quotaroot (PHP 4 >= 4.3.0, PHP 5, PHP 7, PHP 8) imap_get_quotaroot — ユーザー単位のクォータ設定を取得する 説明 function imap_get_quotaroot ( IMAP\Connection $imap , string $mailbox ): array | false ユーザー単位のクォータ設定を取得し ... ます。 limit の値は、このユーザーがメールボックスで使用可能な総容量を表します。 usage の値は、ユーザーが現在メールボックスで使用している容量を表します。 パラメータ imap IMAP\Connection クラスのインスタンス。 ... 指定したユーザーのメールボックスに関連する整数値を配列で返します。 すべての値にはリソース名に基づいたキーがつけられており、 usage および limit 値を保持する配列が関連付けられています。 コールが失敗した場合、およびサーバーからの応答内容をパースできなかっ ... quota = imap_get_quotaroot ( $mbox , "INBOX" ); if ( is_array ( $quota )) { $storage = $quota [ 'STORAGE' ]; echo "STORAGE usage level is: " . $storage [ 'usage' ]; echo "STORAGE limit level is: " . $storage [ 'limit' ]; $message = $quota [ 'MESSAGE' ...
https://man.mtool.work/php/8.3/function.imap-get-quotaroot.html
PREV 1 2 3 4 5 6 7 8 NEXT