執行時期設定

這些函式的行為受 php.ini 的影響。

V8js 設定選項
名字 預設 可修改範圍 更新日誌
v8js.max_disposed_contexts 25 PHP_INI_ALL
v8js.flags   PHP_INI_ALL

以下是設定選項的簡要解釋。

v8js.max_disposed_contexts integer

Sets limit for disposed contexts before forcing V8 to do garbage collection.

v8js.flags string

Sets V8 command line flags. The list of available flags can be obtained in CLI mode by setting this parameter to --help. Example:

$ php -r 'ini_set("v8js.flags", "--help"); new V8Js;' | less

Note:

For these flags to be effective in runtime the ini_set() call has to be done before any V8Js objects are instantiated!

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top