php8.5
Home/ Manual/ reference / v8js/ V8js ConfigureOptions

V8js ConfigureOptions

V8js ConfigureOptionsNameDefaultChangeableChangelogv8js.max_disposed_contexts25INI_ALLv8js.flagsINI_ALL

Runtime Runtime

NameDefaultChangeableChangelog
v8js.max_disposed_contexts25INI_ALL
v8js.flagsINI_ALL

Title

v8js.max_disposed_contextsint

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

v8js.flagsstring

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

output
$ 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!

Source: reference/v8js/ini.xml · from the official PHP manual (php/doc-en)