The behaviour of these functions is affected by settings in php.ini.
INI_ALL
Here's a short explanation of the configuration directives.
v8js.max_disposed_contexts
Sets limit for disposed contexts before forcing V8 to do garbage collection.
v8js.flags
Sets V8 command line flags. The list of available flags can be obtained in CLI mode by setting this parameter to --help. Example:
--help
$ 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!
Note:
For these flags to be effective in runtime the ini_set() call has to be done before any V8Js objects are instantiated!