Das Verhalten dieser Funktionen wird durch Einstellungen in der php.ini beeinflusst.
Name | Standard | Veränderbar | Changelog |
---|---|---|---|
v8js.max_disposed_contexts | 25 | PHP_INI_ALL | |
v8js.flags | PHP_INI_ALL |
Hier eine kurze Erklärung der Konfigurationsoptionen:
Sets limit for disposed contexts before forcing V8 to do garbage collection.
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
Hinweis:
For these flags to be effective in runtime the ini_set() call has to be done before any V8Js objects are instantiated!